File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
kmodules.xyz/client-go/tools/queue Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ require (
38
38
k8s.io/client-go v0.18.9
39
39
k8s.io/kube-aggregator v0.18.9
40
40
k8s.io/kubernetes v1.18.9
41
- kmodules.xyz/client-go v0.0.0-20201208053851-a1d7be95e006
41
+ kmodules.xyz/client-go v0.0.0-20201229202653-b029d8e7bcbb
42
42
kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6
43
43
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c
44
44
kmodules.xyz/objectstore-api v0.0.0-20201105133858-cbb2af88d50a
Original file line number Diff line number Diff line change @@ -1154,6 +1154,8 @@ kmodules.xyz/client-go v0.0.0-20201105071625-0b277310b9b8 h1:zs2+yI/Ola5HjdtfP29
1154
1154
kmodules.xyz/client-go v0.0.0-20201105071625-0b277310b9b8 /go.mod h1:WXDwZBmvrcLgGcuO9iZpI9jcfPuDFfWbxA4EnhAFtGw =
1155
1155
kmodules.xyz/client-go v0.0.0-20201208053851-a1d7be95e006 h1:gNrNTwi0jViRqdszsb0W5CQF+ANNVFlvh/LO0A3R7dM =
1156
1156
kmodules.xyz/client-go v0.0.0-20201208053851-a1d7be95e006 /go.mod h1:WXDwZBmvrcLgGcuO9iZpI9jcfPuDFfWbxA4EnhAFtGw =
1157
+ kmodules.xyz/client-go v0.0.0-20201229202653-b029d8e7bcbb h1:0+O24HfkERssXHqDHVVc9nUnq8nowQVDm1YtRIMeQr8 =
1158
+ kmodules.xyz/client-go v0.0.0-20201229202653-b029d8e7bcbb /go.mod h1:WXDwZBmvrcLgGcuO9iZpI9jcfPuDFfWbxA4EnhAFtGw =
1157
1159
kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6 h1:9b61GdwFN3IC9tPmBvgXdo2kBlQKvyFUy5y4Q0fwB5E =
1158
1160
kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6 /go.mod h1:DbiFk1bJ1KEO94t1SlAn7tzc+Zz95rSXgyUKa2nzPmY =
1159
1161
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4 /go.mod h1:WrO3fryNyFCgqqyWnwI89lnzWA7kN072Ehya7ELGfzE =
Original file line number Diff line number Diff line change @@ -99,8 +99,12 @@ func NewChangeHandler(queue workqueue.RateLimitingInterface) cache.ResourceEvent
99
99
queue : queue ,
100
100
enqueueAdd : nil ,
101
101
enqueueUpdate : func (old , nu interface {}) bool {
102
- return (nu .(metav1.Object )).GetDeletionTimestamp () != nil ||
102
+ oldObj := old .(metav1.Object )
103
+ nuObj := nu .(metav1.Object )
104
+ return nuObj .GetDeletionTimestamp () != nil ||
103
105
! meta_util .MustAlreadyReconciled (nu ) ||
106
+ ! reflect .DeepEqual (oldObj .GetLabels (), nuObj .GetLabels ()) ||
107
+ ! reflect .DeepEqual (oldObj .GetAnnotations (), nuObj .GetAnnotations ()) ||
104
108
! statusEqual (old , nu )
105
109
},
106
110
enqueueDelete : true ,
Original file line number Diff line number Diff line change @@ -1128,7 +1128,7 @@ k8s.io/utils/net
1128
1128
k8s.io/utils/path
1129
1129
k8s.io/utils/pointer
1130
1130
k8s.io/utils/trace
1131
- # kmodules.xyz/client-go v0.0.0-20201208053851-a1d7be95e006
1131
+ # kmodules.xyz/client-go v0.0.0-20201229202653-b029d8e7bcbb
1132
1132
kmodules.xyz/client-go
1133
1133
kmodules.xyz/client-go/admissionregistration/v1beta1
1134
1134
kmodules.xyz/client-go/api/v1
You can’t perform that action at this time.
0 commit comments