diff --git a/pkg/mistconnector/main.go b/pkg/mistconnector/main.go index 99c770e7..48d50fcc 100644 --- a/pkg/mistconnector/main.go +++ b/pkg/mistconnector/main.go @@ -51,8 +51,7 @@ func PrintMistConfigJson(name, description, friendlyName, version string, flagSe if len(f.DefValue) > 0 { if isIntType(f.DefValue) { flagType = "uint" - } - if isBoolType(f.DefValue) { + } else if isBoolType(f.DefValue) { flagType = "" } }