Skip to content

Commit

Permalink
fix(namespaces): use SanitizeName to use the right format for the nam…
Browse files Browse the repository at this point in the history
…espaces (#276)

Signed-off-by: Jose Ramon Mañes <[email protected]>
  • Loading branch information
tty47 authored Apr 17, 2024
1 parent b59ced2 commit 3e59b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/knuu/knuu.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func InitializeWithScope(scope string) error {
return fmt.Errorf("cannot initialize k8s: %s", err)
}

namespace := scope
namespace := k8s.SanitizeName(scope)
namespaceExists := k8s.NamespaceExists(namespace)

if !namespaceExists {
Expand Down

0 comments on commit 3e59b40

Please sign in to comment.