Skip to content

Commit

Permalink
Fix error checking for integration spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mvbrock committed Jan 19, 2025
1 parent ea5b03a commit d561911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/srv/discovery/access_graph_azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func (s *Server) accessGraphAzureFetchersFromMatchers(
continue
}
azureIntegration := integration.GetAzureOIDCIntegrationSpec()
if azureIntegration != nil {
if azureIntegration == nil {
errs = append(errs, trace.Errorf("integration %s has no Azure OIDC integration spec", matcher.Integration))
continue
}
Expand Down

0 comments on commit d561911

Please sign in to comment.