Skip to content

Commit

Permalink
fix authconfig reconciliation
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Nov 27, 2023
1 parent 77ee696 commit d51d911
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 d51d911

Please sign in to comment.