Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryzak committed Mar 11, 2024
1 parent 5100873 commit d1eef45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/signup/service/signup_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ func (s *ServiceImpl) DoGetSignup(ctx *gin.Context, provider ResourceProvider, u

// If UserSignup status is complete as active
// Retrieve MasterUserRecord resource from the host cluster and use its status
mur, err := provider.GetMasterUserRecord(userSignup.Status.CompliantUsername)
mur, err := s.Services().InformerService().GetMasterUserRecord(userSignup.Status.CompliantUsername)
if err != nil {
return nil, errs.Wrap(err, fmt.Sprintf("error when retrieving MasterUserRecord for completed UserSignup %s", userSignup.GetName()))
}
Expand All @@ -473,7 +473,7 @@ func (s *ServiceImpl) DoGetSignup(ctx *gin.Context, provider ResourceProvider, u
// #### The rest of this code only makes sense when there is a ProvisionedTime set, so we include it in the same block ####

// Lookup the user's tier
tier, err := provider.GetUserTier(mur.Spec.TierName)
tier, err := s.Services().InformerService().GetUserTier(mur.Spec.TierName)
if err != nil {
return nil, errs.Wrap(err, fmt.Sprintf("error when retrieving UserTier [%s] for MasterUserRecord [%s]", mur.Spec.TierName, mur.GetName()))
}
Expand Down

0 comments on commit d1eef45

Please sign in to comment.