diff --git a/mantle/kola/tests/rpmostree/deployments.go b/mantle/kola/tests/rpmostree/deployments.go index 110ee705d2..dd627d7ff3 100644 --- a/mantle/kola/tests/rpmostree/deployments.go +++ b/mantle/kola/tests/rpmostree/deployments.go @@ -39,7 +39,7 @@ func init() { Run: rpmOstreeInstallUninstall, ClusterSize: 1, Name: "rpmostree.install-uninstall", - Description: "Verifies rpm-ostree supports installing and uninstalling rpms.", + Description: "Verify rpm-ostree supports installing and uninstalling rpms.", Tags: []string{"rpm-ostree", kola.NeedsInternetTag}, // these need network to retrieve bits // this Ignition config lands the dummy RPM UserData: conf.Ignition(`{ diff --git a/mantle/platform/api/gcloud/compute.go b/mantle/platform/api/gcloud/compute.go index 7d763d2b27..16e470959c 100644 --- a/mantle/platform/api/gcloud/compute.go +++ b/mantle/platform/api/gcloud/compute.go @@ -163,15 +163,13 @@ func (a *API) mkinstance(userdata, name string, keys []*agent.Key, opts platform } } // attach aditional disk - if len(opts.AdditionalDisks) > 0 { - for _, spec := range opts.AdditionalDisks { - plog.Debugf("Parsing disk spec %q\n", spec) - disk, err := ParseDiskSpec(spec, a.options.Zone) - if err != nil { - return nil, fmt.Errorf("failed to parse spec %s: %w", spec, err) - } - instance.Disks = append(instance.Disks, disk) + for _, spec := range opts.AdditionalDisks { + plog.Debugf("Parsing disk spec %q\n", spec) + disk, err := ParseDiskSpec(spec, a.options.Zone) + if err != nil { + return nil, fmt.Errorf("failed to parse spec %s: %w", spec, err) } + instance.Disks = append(instance.Disks, disk) } return instance, nil }