mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Fix passing gcloud command output to error check
This commit is contained in:
parent
39c7e9242b
commit
89f4a09f3b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user