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:
Sebastiaan van Stijn 2023-11-20 13:10:24 +01:00
parent 9d7e21be21
commit 8e98c765f8
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 4 additions and 2 deletions

View File

@ -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.