Enable to select NVMe images for googlecompute builder

This commit is contained in:
Yuki Takeichi 2016-03-11 17:51:12 +09:00 committed by Rickard von Essen
parent b98f8052e9
commit 04078c5c48
1 changed files with 6 additions and 6 deletions

View File

@ -160,7 +160,7 @@ func (d *driverGCE) DeleteDisk(zone, name string) (<-chan error, error) {
} }
func (d *driverGCE) GetImage(name string) (*Image, error) { func (d *driverGCE) GetImage(name string) (*Image, error) {
projects := []string{d.projectId, "centos-cloud", "coreos-cloud", "debian-cloud", "google-containers", "opensuse-cloud", "rhel-cloud", "suse-cloud", "ubuntu-os-cloud", "windows-cloud"} projects := []string{d.projectId, "centos-cloud", "coreos-cloud", "debian-cloud", "google-containers", "opensuse-cloud", "rhel-cloud", "suse-cloud", "ubuntu-os-cloud", "windows-cloud", "gce-nvme"}
var errs error var errs error
for _, project := range projects { for _, project := range projects {
image, err := d.GetImageFromProject(project, name) image, err := d.GetImageFromProject(project, name)