mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
run_remote: improve error reporting
Included more info to the error message.
This commit is contained in:
parent
0d9c29078b
commit
89284a1ba7
@ -557,7 +557,7 @@ func testImage(imageConfig *internalGCEImage, junitFilePrefix string) *TestResul
|
||||
func createInstance(imageConfig *internalGCEImage) (string, error) {
|
||||
p, err := computeService.Projects.Get(*project).Do()
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("failed to get project info %q", *project)
|
||||
return "", fmt.Errorf("failed to get project info %q: %v", *project, err)
|
||||
}
|
||||
// Use default service account
|
||||
serviceAccount := p.DefaultServiceAccount
|
||||
|
Loading…
Reference in New Issue
Block a user