mirror of https://github.com/k3s-io/k3s
Merge pull request #14839 from caesarxuchao/14084-fix
Ref #14084, Print output when error occurs in e2e test "in Services should be able to create a functioning external load balancer with user-provided load balancer ip"pull/6/head
commit
95956d76ea
|
@ -36,6 +36,8 @@ func createGCEStaticIP(name string) (string, error) {
|
||||||
name, "--project", testContext.CloudConfig.ProjectID,
|
name, "--project", testContext.CloudConfig.ProjectID,
|
||||||
"--region", "us-central1", "-q").CombinedOutput()
|
"--region", "us-central1", "-q").CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
glog.Errorf("Creating static IP with name:%s in project: %s", name, testContext.CloudConfig.ProjectID)
|
||||||
|
glog.Errorf("output: %s", output)
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
glog.Errorf("Creating static IP with name:%s in project: %s", name, testContext.CloudConfig.ProjectID)
|
glog.Errorf("Creating static IP with name:%s in project: %s", name, testContext.CloudConfig.ProjectID)
|
||||||
|
|
Loading…
Reference in New Issue