Skip to content

Commit

Permalink
re-do generation of computes list
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Roehrich <[email protected]>
  • Loading branch information
roehrich-hpe committed Feb 2, 2024
1 parent da843a9 commit 9241f05
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion internal/controller/nnf_systemconfiguration_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (r *NnfSystemConfigurationReconciler) Reconcile(ctx context.Context, req ct
// keys and empty values, but it makes it easy to search the names.
validNamespaces := make(map[string]struct{})
for _, name := range systemConfiguration.Computes() {
validNamespaces[name] = struct{}{}
validNamespaces[*name] = struct{}{}
}

// Delete any namespaces owned by this systemConfiguration resource that aren't included
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9241f05

Please sign in to comment.