add more prints

This commit is contained in:
Chao Xu 2015-09-29 23:27:29 -07:00
parent f8a9943d90
commit 998ac8a137

View File

@ -36,6 +36,8 @@ func createGCEStaticIP(name string) (string, error) {
name, "--project", testContext.CloudConfig.ProjectID,
"--region", "us-central1", "-q").CombinedOutput()
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
}
glog.Errorf("Creating static IP with name:%s in project: %s", name, testContext.CloudConfig.ProjectID)