Skip to content

Commit

Permalink
fix authconfig reconciliation
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki authored and maleck13 committed Dec 12, 2023
1 parent 94f26cf commit 6158a22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions controllers/authpolicy_authconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ func authorinoSpecsFromConfigs[T, U any](configs map[string]U, extractAuthorinoS
authorinoConfig := extractAuthorinoSpec(config)
specs[name] = authorinoConfig
}

if len(specs) == 0 {
return nil
}

return specs
}

Expand Down

0 comments on commit 6158a22

Please sign in to comment.