Commit 89f4a09f authored by Aleksandra Malinowska's avatar Aleksandra Malinowska

Fix passing gcloud command output to error check

parent 39c7e924
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment