mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
cleanup: no need to validate conf.Vtype twice
conf.Vtype was verified already, no need to do it a 2nd time. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
4c91f07c78
commit
ecc33a9f86
@ -180,9 +180,6 @@ func main() {
|
|||||||
|
|
||||||
case livenessType:
|
case livenessType:
|
||||||
liveness.Run(&conf)
|
liveness.Run(&conf)
|
||||||
|
|
||||||
default:
|
|
||||||
klog.Fatalln("invalid volume type", conf.Vtype) // calls exit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user