Merge pull request #4518 from AlexLov/bugfix_image_family
[googlecompute] fix bug of creating image from custom image_family
This commit is contained in:
commit
2381bfa8ad
|
@ -67,7 +67,7 @@ func getImage(c *Config, d Driver) (*Image, error) {
|
|||
if c.SourceImageProjectId == "" {
|
||||
return d.GetImage(name, fromFamily)
|
||||
} else {
|
||||
return d.GetImageFromProject(c.SourceImageProjectId, c.SourceImage, fromFamily)
|
||||
return d.GetImageFromProject(c.SourceImageProjectId, name, fromFamily)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue