the err has checked in TearDownAt func/kind bug

This commit is contained in:
jianglingxia 2018-03-20 17:34:01 +08:00
parent 5411352dc6
commit 595e0ff5cb

View File

@ -249,11 +249,6 @@ func (c *csiMountMgr) TearDownAt(dir string) error {
return nil
}
if err != nil {
glog.Error(log("mounter.TearDownAt failed to get CSI persistent source: %v", err))
return err
}
// load volume info from file
dataDir := path.Dir(dir) // dropoff /mount at end
data, err := loadVolumeData(dataDir, volDataFileName)