mirror of https://github.com/docker/cli.git
cli/command/system: fix deprecated comments (gocritic)
cli/command/system/info.go:470:1: deprecatedComment: use `Deprecated: ` (note the casing) instead of `DEPRECATED: ` (gocritic) // DEPRECATED: warnings are now generated by the daemon, and returned in ^ cli/command/system/info.go:492:1: deprecatedComment: use `Deprecated: ` (note the casing) instead of `DEPRECATED: ` (gocritic) // DEPRECATED: warnings are now generated by the daemon, and returned in ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9d7e21be21
commit
8e98c765f8
|
@ -466,7 +466,8 @@ func printServerWarnings(stdErr io.Writer, info *info) {
|
||||||
|
|
||||||
// printSecurityOptionsWarnings prints warnings based on the security options
|
// printSecurityOptionsWarnings prints warnings based on the security options
|
||||||
// returned by the daemon.
|
// returned by the daemon.
|
||||||
// DEPRECATED: warnings are now generated by the daemon, and returned in
|
//
|
||||||
|
// Deprecated: warnings are now generated by the daemon, and returned in
|
||||||
// info.Warnings. This function is used to provide backward compatibility with
|
// info.Warnings. This function is used to provide backward compatibility with
|
||||||
// daemons that do not provide these warnings. No new warnings should be added
|
// daemons that do not provide these warnings. No new warnings should be added
|
||||||
// here.
|
// here.
|
||||||
|
@ -488,7 +489,8 @@ func printSecurityOptionsWarnings(stdErr io.Writer, info system.Info) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// printServerWarningsLegacy generates warnings based on information returned by the daemon.
|
// printServerWarningsLegacy generates warnings based on information returned by the daemon.
|
||||||
// DEPRECATED: warnings are now generated by the daemon, and returned in
|
//
|
||||||
|
// Deprecated: warnings are now generated by the daemon, and returned in
|
||||||
// info.Warnings. This function is used to provide backward compatibility with
|
// info.Warnings. This function is used to provide backward compatibility with
|
||||||
// daemons that do not provide these warnings. No new warnings should be added
|
// daemons that do not provide these warnings. No new warnings should be added
|
||||||
// here.
|
// here.
|
||||||
|
|
Loading…
Reference in New Issue