Skip to content

Commit

Permalink
fixup! pkg/cluster: Use MS Graph to obtain service principal ID
Browse files Browse the repository at this point in the history
Clarify error message.
  • Loading branch information
mbarnes committed Jun 8, 2023
1 parent 75a0011 commit 8e15d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/serviceprincipal.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (m *manager) clusterSPObjectID(ctx context.Context) error {
return false, err
}
if clusterSPObjectID == nil {
return false, fmt.Errorf("appId '%s' not found", spp.ClientID)
return false, fmt.Errorf("no service principal found for application ID '%s'", spp.ClientID)
}
return true, nil
}, timeoutCtx.Done())
Expand Down

0 comments on commit 8e15d1e

Please sign in to comment.