update generate config

This commit is contained in:
pixiake 2020-04-29 20:45:13 +08:00
parent 1956294f7c
commit e13018f0f2

View File

@ -96,6 +96,7 @@ func GenerateK2ClusterObj(addons string) error {
if index == 0 {
opt.NfsClientIsDefault = true
}
case "":
default:
return errors.New(fmt.Sprintf("This plugin is not supported: %s", strings.TrimSpace(addon)))
}