Merge pull request #101115 from wangyx1992/capital-log
cleanup: fix log capitalization in volume package
This commit is contained in:
@@ -206,15 +206,15 @@ func (nfsMounter *nfsMounter) CanMount() error {
|
||||
switch runtime.GOOS {
|
||||
case "linux":
|
||||
if _, err := exec.Command("test", "-x", "/sbin/mount.nfs").CombinedOutput(); err != nil {
|
||||
return fmt.Errorf("Required binary /sbin/mount.nfs is missing")
|
||||
return fmt.Errorf("required binary /sbin/mount.nfs is missing")
|
||||
}
|
||||
if _, err := exec.Command("test", "-x", "/sbin/mount.nfs4").CombinedOutput(); err != nil {
|
||||
return fmt.Errorf("Required binary /sbin/mount.nfs4 is missing")
|
||||
return fmt.Errorf("required binary /sbin/mount.nfs4 is missing")
|
||||
}
|
||||
return nil
|
||||
case "darwin":
|
||||
if _, err := exec.Command("test", "-x", "/sbin/mount_nfs").CombinedOutput(); err != nil {
|
||||
return fmt.Errorf("Required binary /sbin/mount_nfs is missing")
|
||||
return fmt.Errorf("required binary /sbin/mount_nfs is missing")
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user