mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 01:29:07 +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:
parent
0c6a059f71
commit
4fb5ecd066
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user