From 5d17b3de84dda3aae4e9a0b0e33993a860967126 Mon Sep 17 00:00:00 2001 From: Joel Vasallo Date: Fri, 19 Oct 2018 19:52:11 -0500 Subject: [PATCH] fix: config validator output --- common/shell-local/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/shell-local/config.go b/common/shell-local/config.go index b4fae91a4..410f6bb43 100644 --- a/common/shell-local/config.go +++ b/common/shell-local/config.go @@ -176,7 +176,7 @@ func Validate(config *Config) error { } if supported_os != true { 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, ", ")) } } }