pkg/volume/nfs/nfs.go: correct error messages.

pull/8/head
Slava Semushin 2018-03-05 12:12:51 +01:00
parent f9898c3145
commit 180535c1fc
1 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ func (b *nfsMounter) SetUpAt(dir string, fsGroup *int64) error {
if err != nil {
notMnt, mntErr := b.mounter.IsNotMountPoint(dir)
if mntErr != nil {
glog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr)
glog.Errorf("IsNotMountPoint check failed: %v", mntErr)
return err
}
if !notMnt {
@ -265,7 +265,7 @@ func (b *nfsMounter) SetUpAt(dir string, fsGroup *int64) error {
}
notMnt, mntErr := b.mounter.IsNotMountPoint(dir)
if mntErr != nil {
glog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr)
glog.Errorf("IsNotMountPoint check failed: %v", mntErr)
return err
}
if !notMnt {