Skip to content

Commit

Permalink
Merge pull request #1194 from ytsarev/instanceprofile-followup
Browse files Browse the repository at this point in the history
fix(InstanceProfile): follow up fix of #1159
  • Loading branch information
haarchri authored Mar 8, 2022
2 parents c548fa8 + 57dd6a1 commit 2cb06d8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/controller/iam/instanceprofile/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"context"
"time"

"github.com/aws/aws-sdk-go/aws/session"
svcsdk "github.com/aws/aws-sdk-go/service/iam"
svcsdkapi "github.com/aws/aws-sdk-go/service/iam/iamiface"
"k8s.io/client-go/util/workqueue"
Expand Down Expand Up @@ -48,8 +47,8 @@ func SetupInstanceProfile(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateL
e.preObserve = preObserve
e.postObserve = postObserve
e.preCreate = preCreate
e.postCreate = postCreate
e.preDelete = preDelete
e.postCreate = u.postCreate
e.preDelete = u.preDelete
},
}
return ctrl.NewControllerManagedBy(mgr).
Expand Down

0 comments on commit 2cb06d8

Please sign in to comment.