-
Notifications
You must be signed in to change notification settings - Fork 204
Rename deployment chain configuration struct field #2820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pkg/config/deployment.go
Outdated
| // ApplicationMatchers provides list of ChainApplicationMatcher which contain filters to be used | ||
| // to find applications to deploy as chain node. It's required to not empty. | ||
| Nodes []*DeploymentChainNode `json:"applications"` | ||
| ApplicationMatchers []*ChainApplicationMatcher `json:"applications"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need to use pointer.
pkg/config/deployment.go
Outdated
| // as a part of the deployment chain. | ||
| type DeploymentChainNode struct { | ||
| type ChainApplicationMatcher struct { | ||
| AppName string `json:"name"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Name" is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice point 👍 addressed by 91d35ee
|
Code coverage for golang is
|
What this PR does / why we need it:
Rename as suggestion discussed in #2815 (comment)
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: