-
Notifications
You must be signed in to change notification settings - Fork 4.5k
agent: drop atlas/scada code #3032
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
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.
Two tiny things, otherwise LGTM.
command/agent/config.go
Outdated
DeprecatedAtlasInfrastructure string `mapstructure:"atlas_infrastructure"` | ||
DeprecatedAtlasToken string `mapstructure:"atlas_token" json:"-"` | ||
DeprecatedAtlasACLToken string `mapstructure:"atlas_acl_token" json:"-"` | ||
DeprecatedAtlasJoin bool `mapstructure:"atlas_join"` |
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.
if you json:"-"
these as well they won't show up in /v1/agent/self
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.
ok
if err := c.Command.Parse(c.args); err != nil { | ||
return nil | ||
} | ||
|
||
// check deprecated flags |
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.
Will these basically be duplicate warnings with the others you have below?
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.
no since the ones will be for the HTTP endpoint and the other ones for the command line. I'll add the ==>
prefix though.
ed9f929
to
9eb0e5a
Compare
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.
LGTM
No description provided.