fix bug of creating image from custom image_family

This commit is contained in:
Alex Lov 2017-02-08 22:50:19 +03:00
parent 61a9164c7b
commit cfa8f8c215
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}