From 8e98c765f8f0efafced454276a4aa93dd8e6f750 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 20 Nov 2023 13:10:24 +0100 Subject: [PATCH] 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 --- cli/command/system/info.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/command/system/info.go b/cli/command/system/info.go index 25bca56daf..6259eab333 100644 --- a/cli/command/system/info.go +++ b/cli/command/system/info.go @@ -466,7 +466,8 @@ func printServerWarnings(stdErr io.Writer, info *info) { // printSecurityOptionsWarnings prints warnings based on the security options // 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 // daemons that do not provide these warnings. No new warnings should be added // here. @@ -488,7 +489,8 @@ func printSecurityOptionsWarnings(stdErr io.Writer, info system.Info) { } // 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 // daemons that do not provide these warnings. No new warnings should be added // here.