Skip to content

Commit

Permalink
add more unit test cases (#50)
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Le <yangle@redhat.com>

Signed-off-by: Yang Le <yangle@redhat.com>
  • Loading branch information
elgnay authored Sep 26, 2022
1 parent cc352f5 commit 0a31bf8
Show file tree
Hide file tree
Showing 7 changed files with 899 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ func main() {
}

if features.FeatureGates.Enabled(features.EphemeralIdentity) {
if err := (&manager.EphemeralIdentityReconciler{
Cache: mgr.GetCache(),
HubClient: mgr.GetClient(),
}).SetupWithManager(mgr); err != nil {
if err := (manager.NewEphemeralIdentityReconciler(
mgr.GetCache(),
mgr.GetClient(),
)).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to register EphemeralIdentityReconciler")
os.Exit(1)
}
Expand Down
Loading

0 comments on commit 0a31bf8

Please sign in to comment.