File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ func (a *plan) getDesiredAssociation(association EKSPodIdentityAssociation) bool
65
65
func (a * plan ) Create (_ context.Context ) ([]planner.Procedure , error ) {
66
66
procedures := []planner.Procedure {}
67
67
68
- for _ , desired := range a .desiredAssociations {
68
+ for _ , d := range a .desiredAssociations {
69
+ desired := d
69
70
existsInCurrent := a .getCurrentAssociation (desired )
70
71
71
72
// Create pod association if is doesnt already exist
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ limitations under the License.
17
17
package podidentities
18
18
19
19
import (
20
+ "net/http"
21
+
20
22
"github.com/google/go-cmp/cmp"
21
23
)
22
24
@@ -42,6 +44,6 @@ func (e *EKSPodIdentityAssociation) IsEqual(other *EKSPodIdentityAssociation) bo
42
44
if ! cmp .Equal (e .RoleARN , other .RoleARN ) {
43
45
return false
44
46
}
45
-
47
+ x := http . DefaultClient
46
48
return true
47
49
}
You can’t perform that action at this time.
0 commit comments