fix bug of creating image from custom image_family
This commit is contained in:
parent
61a9164c7b
commit
cfa8f8c215
|
@ -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