mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 00:18:53 +00:00
gcp: output error message when client could not be created
Signed-off-by: Eric Briand <eric.briand@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ func runGcp(args []string) {
|
||||
|
||||
client, err := NewGCPClient(keys, project)
|
||||
if err != nil {
|
||||
log.Fatalf("Unable to connect to GCP")
|
||||
log.Fatalf("Unable to connect to GCP: %v", err)
|
||||
}
|
||||
|
||||
if err = client.CreateInstance(*name, image, zone, machine, disks, data, *nestedVirt, true); err != nil {
|
||||
|
Reference in New Issue
Block a user