From 89f4a09f3bab722355c88e76bcf0f5dcffe23df9 Mon Sep 17 00:00:00 2001 From: Aleksandra Malinowska Date: Thu, 22 Feb 2018 10:51:46 +0100 Subject: [PATCH] Fix passing gcloud command output to error check --- test/e2e/autoscaling/cluster_size_autoscaling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/autoscaling/cluster_size_autoscaling.go b/test/e2e/autoscaling/cluster_size_autoscaling.go index c0b366d7e6e..cad367e1bad 100644 --- a/test/e2e/autoscaling/cluster_size_autoscaling.go +++ b/test/e2e/autoscaling/cluster_size_autoscaling.go @@ -1298,7 +1298,7 @@ func addNodePool(name string, machineType string, numNodes int) { "--cluster=" + framework.TestContext.CloudConfig.Cluster} output, err := execCmd(getGcloudCommand(args)...).CombinedOutput() glog.Infof("Creating node-pool %s: %s", name, output) - framework.ExpectNoError(err, output) + framework.ExpectNoError(err, string(output)) } func deleteNodePool(name string) {