Skip to content

Commit

Permalink
crd ns informer fix (#2567)
Browse files Browse the repository at this point in the history
  • Loading branch information
lavanya-f5 committed Sep 6, 2022
1 parent 9e8c448 commit e1dde1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func NewController(params Params) *Controller {
}

if ctlr.namespaceLabel == "" {
if len(ctlr.namespaces) == 0 {
if len(params.Namespaces) == 0 {
ctlr.namespaces[""] = true
log.Debug("No namespaces provided. Watching all namespaces")
} else {
Expand Down

0 comments on commit e1dde1a

Please sign in to comment.