File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ func (opts *SkaffoldOptions) Labels() map[string]string {
53
53
labels ["namespace" ] = opts .Namespace
54
54
}
55
55
if len (opts .Profiles ) > 0 {
56
- labels ["profiles" ] = strings .Join (opts .Profiles , ", " )
56
+ labels ["profiles" ] = strings .Join (opts .Profiles , "__ " )
57
57
}
58
58
for _ , cl := range opts .CustomLabels {
59
59
l := strings .SplitN (cl , "=" , 2 )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ func TestLabels(t *testing.T) {
50
50
{
51
51
description : "profiles" ,
52
52
options : SkaffoldOptions {Profiles : []string {"profile1" , "profile2" }},
53
- expectedLabels : map [string ]string {"profiles" : "profile1,profile2 " },
53
+ expectedLabels : map [string ]string {"profiles" : "profile1__profile2 " },
54
54
},
55
55
{
56
56
description : "all labels" ,
@@ -62,7 +62,7 @@ func TestLabels(t *testing.T) {
62
62
expectedLabels : map [string ]string {
63
63
"cleanup" : "true" ,
64
64
"namespace" : "namespace" ,
65
- "profiles" : "p1,p2 " ,
65
+ "profiles" : "p1__p2 " ,
66
66
},
67
67
},
68
68
{
You can’t perform that action at this time.
0 commit comments