File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11module github.com/kyma-project/runtime-watcher/listener
22
3- go 1.25.7
3+ go 1.26.0
44
55retract v1.1.18 // reason: not a valid release
66
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ func GenericEvent(watcherEvent *types.WatchEvent) *unstructured.Unstructured {
8989 return genericEvtObject
9090}
9191
92- func UnstructuredContent (watcherEvt * types.WatchEvent ) map [string ]interface {} {
93- content := make (map [string ]interface {} , contentMapCapacity )
92+ func UnstructuredContent (watcherEvt * types.WatchEvent ) map [string ]any {
93+ content := make (map [string ]any , contentMapCapacity )
9494 content ["watched" ] = watcherEvt .Watched
9595 content ["watched-gvk" ] = watcherEvt .WatchedGvk
9696 content ["runtime-id" ] = watcherEvt .SkrMeta .RuntimeId
Original file line number Diff line number Diff line change 11module github.com/kyma-project/runtime-watcher/skr
22
3- go 1.25.7
3+ go 1.26.0
44
55require (
66 github.com/go-logr/logr v1.4.3
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ func (m Metadata) NamespacedName() string {
3030type WatchedObject struct {
3131 Metadata `json:"metadata"`
3232
33- Spec map [string ]interface {} `json:"spec"`
34- APIVersion string `json:"apiVersion"`
35- Kind string `json:"kind"`
36- Status map [string ]interface {} `json:"status"`
33+ Spec map [string ]any `json:"spec"`
34+ APIVersion string `json:"apiVersion"`
35+ Kind string `json:"kind"`
36+ Status map [string ]any `json:"status"`
3737}
Original file line number Diff line number Diff line change 11module github.com/kyma-project/runtime-watcher/tests
22
3- go 1.25.7
3+ go 1.26.0
44
55replace (
66 github.com/kyma-project/runtime-watcher/listener => ../../listener
Original file line number Diff line number Diff line change 1- golangciLint : " 2.4 .0"
1+ golangciLint : " 2.9 .0"
22envtest : " 0.21"
33envtest_k8s : " 1.32.0"
You can’t perform that action at this time.
0 commit comments