Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-855 fix namespaces validation (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko authored Feb 15, 2024
1 parent eb26e7b commit 28304c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ type (

// NamespacesList returns list of the namespaces that everest can operate in.
func (c Config) NamespacesList() []string {
if len(c.Namespaces) == 0 {
return []string{}
}
return strings.Split(c.Namespaces, ",")
}

Expand Down

0 comments on commit 28304c2

Please sign in to comment.