Skip to content

Commit

Permalink
Merge pull request #394 from jardon/fix/stack-name-spaces
Browse files Browse the repository at this point in the history
fix:[close #393] escape spaces when creating labels
  • Loading branch information
jardon authored Aug 22, 2024
2 parents e74818a + c6e524d commit 447e7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/subSystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ func (s *SubSystem) Create() error {
}

labels := map[string]string{
"stack": s.Stack.Name,
"name": s.Name,
"stack": strings.ReplaceAll(s.Stack.Name, " ", "\\ "),
"name": strings.ReplaceAll(s.Name, " ", "\\ "),
}

if s.IsManaged {
Expand Down

0 comments on commit 447e7a9

Please sign in to comment.