chore: update error for wrong volume type

This commit is contained in:
Shuyang Wu
2021-08-04 18:33:15 -04:00
committed by GitHub
parent bc7d9f4fb0
commit 0262c1606c
+1 -1
View File
@@ -146,7 +146,7 @@ func ValidateFlags(bundle string, args []string, cmd *cobra.Command, opt *kobjec
}
if opt.Volumes != "persistentVolumeClaim" && opt.Volumes != "emptyDir" && opt.Volumes != "hostPath" && opt.Volumes != "configMap" {
log.Fatal("Unknown Volume type: ", opt.Volumes, ", possible values are: persistentVolumeClaim, configMap and emptyDir")
log.Fatal("Unknown Volume type: ", opt.Volumes, ", possible values are: persistentVolumeClaim, hostPath, configMap and emptyDir")
}
}