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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user