fix: config validator output
This commit is contained in:
parent
23ad90f2c4
commit
5d17b3de84
|
@ -176,7 +176,7 @@ func Validate(config *Config) error {
|
||||||
}
|
}
|
||||||
if supported_os != true {
|
if supported_os != true {
|
||||||
return fmt.Errorf("Invalid OS specified in only_on: '%s'\n"+
|
return fmt.Errorf("Invalid OS specified in only_on: '%s'\n"+
|
||||||
"Supported OS names: %v", provided_os, supported_syslist)
|
"Supported OS names: %s", provided_os, strings.Join(supported_syslist, ", "))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue