From f2fa2f6dd699f03b88157d859e0b7298523aeee1 Mon Sep 17 00:00:00 2001 From: shashidharatd Date: Thu, 2 Mar 2017 11:44:42 +0530 Subject: [PATCH] New packages added to hack/.linted_packages --- cluster/gce/gci/mounter/mounter.go | 4 ++-- hack/.linted_packages | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cluster/gce/gci/mounter/mounter.go b/cluster/gce/gci/mounter/mounter.go index ef37ce0601a..4224efab03b 100644 --- a/cluster/gce/gci/mounter/mounter.go +++ b/cluster/gce/gci/mounter/mounter.go @@ -63,7 +63,7 @@ func main() { // MountInChroot is to run mount within chroot with the passing root directory func mountInChroot(rootfsPath string, args []string) error { if _, err := os.Stat(rootfsPath); os.IsNotExist(err) { - return fmt.Errorf("Path <%s> does not exist.\n", rootfsPath) + return fmt.Errorf("path <%s> does not exist", rootfsPath) } args = append([]string{rootfsPath, mountCmd}, args...) output, err := exec.Command(chrootCmd, args...).CombinedOutput() @@ -73,7 +73,7 @@ func mountInChroot(rootfsPath string, args []string) error { if !strings.EqualFold(string(output), nfsRPCBindErrMsg) { // Mount failed but not because of RPC bind error - return fmt.Errorf("Mount failed: %v\nMounting command: %s\nMounting arguments: %v\nOutput: %s\n", err, chrootCmd, args, string(output)) + return fmt.Errorf("mount failed: %v\nMounting command: %s\nMounting arguments: %v\nOutput: %s", err, chrootCmd, args, string(output)) } // Mount failed because it is NFS V3 and we need to run rpcBind diff --git a/hack/.linted_packages b/hack/.linted_packages index 3fc4d3b4ed1..66d3afd446a 100644 --- a/hack/.linted_packages +++ b/hack/.linted_packages @@ -1,4 +1,5 @@ cluster/addons/fluentd-elasticsearch/es-image +cluster/gce/gci/mounter cluster/images/etcd/attachlease cluster/images/etcd/rollback cmd/clicheck @@ -385,6 +386,7 @@ staging/src/k8s.io/kube-aggregator/pkg/client/listers/apiregistration/v1alpha1 staging/src/k8s.io/sample-apiserver staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/install test/e2e/perftype +test/e2e_federation/upgrades test/e2e_node/runner/local test/images/clusterapi-tester test/images/entrypoint-tester