forked from LaconicNetwork/kompose
chore: update error for wrong volume type
This commit is contained in:
1 parent
bc7d9f4fb0
commit
0262c1606c
1 file changed
+1
-1
+1
-1
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user