kooper icon indicating copy to clipboard operation
kooper copied to clipboard

support go-client 0.24.2

Open orbatschow opened this issue 3 years ago • 0 comments

Hi,

at the moment is seems, that [email protected] is not supported. It would be great to upgrade to this version. Currently it fails with:

# github.com/spotahome/kooper/v2/controller/leaderelection
/home/nilsorbat/go/pkg/mod/github.com/spotahome/kooper/[email protected]/controller/leaderelection/leaderelection.go:118:16: undefined: resourcelock.ConfigMapsResourceLock

Compilation finished with exit code 2

According to the docs, the migration should happen like this:

https://github.com/kubernetes/client-go/blob/a16e76eb69cc9eea8e9c9124a64e6e58a583dad2/tools/leaderelection/resourcelock/interface.go#L195

orbatschow avatar Jul 01 '22 14:07 orbatschow