File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ require (
41
41
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
42
42
github.com/eapache/queue v1.1.0 // indirect
43
43
github.com/emicklei/go-restful/v3 v3.10.1 // indirect
44
- github.com/evanphx/json-patch v4.12.0+incompatible // indirect
45
44
github.com/fatih/color v1.15.0 // indirect
46
45
github.com/go-kit/log v0.2.1 // indirect
47
46
github.com/go-logfmt/logfmt v0.5.1 // indirect
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m
67
67
github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0 /go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ =
68
68
github.com/envoyproxy/protoc-gen-validate v0.1.0 /go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c =
69
69
github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84 =
70
- github.com/evanphx/json-patch v4.12.0+incompatible /go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk =
71
70
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs =
72
71
github.com/fatih/color v1.15.0 /go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw =
73
72
github.com/flowstack/go-jsonschema v0.1.1 /go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0 =
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ func (e *EventWatcher) OnAdd(obj interface{}) {
63
63
}
64
64
65
65
func (e * EventWatcher ) OnUpdate (oldObj , newObj interface {}) {
66
- // Ignore updates
66
+ event := newObj .(* corev1.Event )
67
+ e .onEvent (event )
67
68
}
68
69
69
70
// Ignore events older than the maxEventAgeSeconds
You can’t perform that action at this time.
0 commit comments