Skip to content

Commit

Permalink
use dots in RFC1123
Browse files Browse the repository at this point in the history
  • Loading branch information
orishavit committed Nov 12, 2024
1 parent 0c9d13b commit e9b2508
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (si ServiceIdentity) GetNameWithKind() string {
}

func (si ServiceIdentity) GetRFC1123NameWithKind() string {
return strings.ReplaceAll(si.GetNameWithKind(), "_", "-")
return strings.ReplaceAll(si.GetNameWithKind(), "_", ".")
}

func (si ServiceIdentity) Equals(other ServiceIdentity) bool {
Expand Down

0 comments on commit e9b2508

Please sign in to comment.