We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e92ef1 + ffd9511 commit e94ccb6Copy full SHA for e94ccb6
drivers/google/google.go
@@ -196,6 +196,7 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
196
if !d.UseExisting {
197
d.MachineType = flags.String("google-machine-type")
198
d.MachineImage = flags.String("google-machine-image")
199
+ d.MachineImage = strings.TrimPrefix(d.MachineImage, "https://www.googleapis.com/compute/v1/projects/")
200
d.DiskSize = flags.Int("google-disk-size")
201
d.DiskType = flags.String("google-disk-type")
202
d.Address = flags.String("google-address")
0 commit comments