1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-05 09:48:36 +01:00

Merge pull request #35 from ibuildthecloud/fix-labels

Fix labels in run
This commit is contained in:
Darren Shepherd
2016-12-15 23:12:58 -07:00
committed by GitHub

View File

@@ -277,7 +277,7 @@ func serviceRun(ctx *cli.Context) error {
}
for _, label := range ctx.StringSlice("label") {
parts := strings.SplitN(label, "=", 1)
parts := strings.SplitN(label, "=", 2)
value := ""
if len(parts) > 1 {
value = parts[1]