Skip to content

Commit

Permalink
[MESH-3865]- Fixing else if
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaygonuguntla committed Sep 4, 2024
1 parent c3f90ff commit 48ffabb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions admiral/pkg/controller/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,13 @@ func GenerateUniqueNameForVS(originNamespace string, vsName string) string {

if originNamespace == "" && vsName == "" {
return ""
} else if originNamespace == "" {
}

if originNamespace == "" {
return vsName
} else if vsName == "" {
}

if vsName == "" {
return originNamespace
}

Expand Down

0 comments on commit 48ffabb

Please sign in to comment.