Skip to content

Commit 8e98c76

Browse files
committed
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>
1 parent 9d7e21b commit 8e98c76

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

cli/command/system/info.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,8 @@ func printServerWarnings(stdErr io.Writer, info *info) {
466466

467467
// printSecurityOptionsWarnings prints warnings based on the security options
468468
// returned by the daemon.
469-
// DEPRECATED: warnings are now generated by the daemon, and returned in
469+
//
470+
// Deprecated: warnings are now generated by the daemon, and returned in
470471
// info.Warnings. This function is used to provide backward compatibility with
471472
// daemons that do not provide these warnings. No new warnings should be added
472473
// here.
@@ -488,7 +489,8 @@ func printSecurityOptionsWarnings(stdErr io.Writer, info system.Info) {
488489
}
489490

490491
// printServerWarningsLegacy generates warnings based on information returned by the daemon.
491-
// DEPRECATED: warnings are now generated by the daemon, and returned in
492+
//
493+
// Deprecated: warnings are now generated by the daemon, and returned in
492494
// info.Warnings. This function is used to provide backward compatibility with
493495
// daemons that do not provide these warnings. No new warnings should be added
494496
// here.

0 commit comments

Comments
 (0)