fix cache persistent default for cephfs

Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
Huamin Chen
2019-01-09 15:20:08 +00:00
parent a0600d2cc7
commit 0459c94f1a
2 changed files with 1 additions and 5 deletions

View File

@ -50,10 +50,6 @@ func main() {
os.Exit(1)
}
if *metadataStorage != "node" && *metadataStorage != "k8s_configmap" {
glog.Errorf("invalid cache persistent option: %s", *metadataStorage)
os.Exit(1)
}
cp, err := util.NewCachePersister(*metadataStorage, *driverName)
if err != nil {
glog.Errorf("failed to define cache persistence method: %v", err)