diff --git a/pkg/controller/profile.go b/pkg/controller/profile.go index 65d5131..c184781 100644 --- a/pkg/controller/profile.go +++ b/pkg/controller/profile.go @@ -33,5 +33,8 @@ func getProfilesFromIni(fname string) (profiles []string, err error) { } func getProfileFromIniSection(section string) string { + if section == "default" { + return section + } return strings.Split(section, " ")[1] }