Commit c1732966 authored by Aleksandra Malinowska's avatar Aleksandra Malinowska

log gcloud command error

parent be78d113
......@@ -66,6 +66,7 @@ func GetGroupNodes(group string) ([]string, error) {
"list-instances", group, "--project="+TestContext.CloudConfig.ProjectID,
"--zone="+TestContext.CloudConfig.Zone).CombinedOutput()
if err != nil {
Logf("Failed to get nodes in instance group: %v", string(output))
return nil, err
}
re := regexp.MustCompile(".*RUNNING")
......
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