1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2025-01-02 20:00:54 +00:00

Change function name to be clearer about the fact it returns a string.

This commit is contained in:
Abubakr-Sadik Nii Nai Davis 2017-08-06 14:25:02 +00:00
parent f88de572f6
commit 82c92e0078

View File

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