Skip to content
Snippets Groups Projects
Commit 7f6a0810 authored by Adrien Kohlbecker's avatar Adrien Kohlbecker
Browse files

Apply 2 suggestion(s) to 2 file(s)

parent 55ccbc6d
No related branches found
No related tags found
No related merge requests found
......@@ -417,7 +417,7 @@ func parseLabels(d *Driver) map[string]string {
if d.Labels != "" {
// d.Labels is in the format "key:value,key:value"
// also account for spaces in the format and ignores them
// also account for spaces in the format and ignore them
for _, kv := range strings.Split(d.Labels, ",") {
split := strings.SplitN(kv, ":", 2)
key := strings.TrimSpace(split[0])
......
......@@ -218,7 +218,7 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag {
},
mcnflag.StringFlag{
Name: "google-labels",
Usage: "Labels to set on the vm (format: key:value,key:value)",
Usage: "Labels to set on the VM (format: key:value,key:value)",
Value: "",
},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment