Hotfix - ignore not allowed set flags (#192)

#patch
This commit is contained in:
RoyUP9 2021-08-10 14:21:16 +03:00 committed by GitHub
parent 6e9fe2986e
commit c3995009ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,6 +133,7 @@ func mergeSetFlag(setValues []string) {
if !Contains(allowedSetFlags, argumentKey) {
Log.Warningf(uiUtils.Warning, fmt.Sprintf("Ignoring set argument %s, flag name must be one of the following: \"%s\"", setValue, strings.Join(allowedSetFlags, "\", \"")))
continue
}
mergeFlagValue(configElem, argumentKey, argumentValue)