Skip to content

Commit

Permalink
Merge pull request #2 from mikebryant/wip-1
Browse files Browse the repository at this point in the history
fix: Find project for existing key correctly
  • Loading branch information
jace-ys authored Dec 8, 2020
2 parents c90054b + 4baefe2 commit ad9689e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/projectkey_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ func (r *ProjectKeyReconciler) getExistingState(projectkey sentryv1alpha1.Projec
projectSlug = sProject.Slug
break
}
}

if projectSlug == "" {
return nil, "", ErrOutOfSync
}

Expand Down

0 comments on commit ad9689e

Please sign in to comment.