mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-01-03 04:10:55 +00:00
Change function name to be clearer about the fact it returns a string.
This commit is contained in:
parent
f88de572f6
commit
82c92e0078
@ -28,7 +28,7 @@ func printWarn(msg string) {
|
||||
)
|
||||
}
|
||||
|
||||
func printfWarn(msg string) string {
|
||||
func printWarn(msg string) string {
|
||||
return fmt.Sprintf("[%s] %s",
|
||||
colors[check.WARN].Sprintf("%s", check.WARN),
|
||||
msg,
|
||||
|
Loading…
Reference in New Issue
Block a user