From 6eb0bd8c870e97f16bd3412ab4b9367edf0d3eaa Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 22 Jan 2021 00:08:40 -0500 Subject: [PATCH] chore: sort set properties --- plugins/common/properties.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/common/properties.go b/plugins/common/properties.go index 89d561017..7cacffb18 100644 --- a/plugins/common/properties.go +++ b/plugins/common/properties.go @@ -8,6 +8,7 @@ import ( "os" "path/filepath" "reflect" + "sort" "strings" ) @@ -32,6 +33,7 @@ func CommandPropertySet(pluginName, appName, property, value string, properties validPropertyList[i] = properties[i].String() } + sort.Strings(validPropertyList) LogFail(fmt.Sprintf("Invalid property specified, valid properties include: %s", strings.Join(validPropertyList, ", "))) }