Skip to content

Commit 097fda6

Browse files
stefanmcshaneDanil-Grigorev
authored andcommitted
Update types.go
1 parent 81bfe21 commit 097fda6

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

pkg/eks/podidentities/types.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,3 @@ type EKSPodIdentityAssociation struct {
2727
RoleARN string
2828
AssociationID string
2929
}
30-
31-
// IsEqual determines if 2 EKSPodIdentityAssociation are equal.
32-
func (e *EKSPodIdentityAssociation) IsEqual(other *EKSPodIdentityAssociation) bool {
33-
if e == other {
34-
return true
35-
}
36-
if !cmp.Equal(e.ServiceAccountName, other.ServiceAccountName) {
37-
return false
38-
}
39-
if !cmp.Equal(e.ServiceAccountNamespace, other.ServiceAccountNamespace) {
40-
return false
41-
}
42-
if !cmp.Equal(e.RoleARN, other.RoleARN) {
43-
return false
44-
}
45-
46-
return true
47-
}

0 commit comments

Comments
 (0)