From f70065478e6c695d35a8a54566b9074dbc9e128f Mon Sep 17 00:00:00 2001 From: zhangxiaoyu-zidif Date: Mon, 1 May 2017 10:40:42 +0800 Subject: [PATCH] mounter.go: format return err. --- cluster/gce/gci/mounter/mounter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/gci/mounter/mounter.go b/cluster/gce/gci/mounter/mounter.go index 4224efab03b..8f674ecdc8f 100644 --- a/cluster/gce/gci/mounter/mounter.go +++ b/cluster/gce/gci/mounter/mounter.go @@ -68,7 +68,7 @@ func mountInChroot(rootfsPath string, args []string) error { args = append([]string{rootfsPath, mountCmd}, args...) output, err := exec.Command(chrootCmd, args...).CombinedOutput() if err == nil { - return err + return nil } if !strings.EqualFold(string(output), nfsRPCBindErrMsg) {