mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
log gcloud command error
This commit is contained in:
parent
be78d113b1
commit
c173296632
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user