1
0
mirror of https://github.com/minio/mc.git synced 2025-12-08 22:28:28 +03:00

Add staticcheck to CI (#4386)

This commit is contained in:
Klaus Post
2022-12-05 17:32:04 +01:00
committed by GitHub
parent a55d40caf7
commit 52a931bfa7
46 changed files with 146 additions and 169 deletions

View File

@@ -80,7 +80,7 @@ func (i srRemoveStatus) JSON() string {
func (i srRemoveStatus) String() string {
if i.RemoveAll {
return console.Colorize("UserMessage", fmt.Sprintf("All site(s) were removed successfully"))
return console.Colorize("UserMessage", "All site(s) were removed successfully")
}
return console.Colorize("UserMessage", fmt.Sprintf("Following site(s) %s were removed successfully", strings.Join(i.sites, ", ")))
}