Nick Fedor
Nick Fedor
The Containrrr/Watchtower repository is definitely no longer under active development. I opted to just fork and start updating things, but there's still plenty of work left, such as separating the...
@soyji Throw a PR my way and we can look at implementing it in my [fork](https://github.com/nicholas-fedor/watchtower).
I'm experiencing the same issue. It seems this is ultimately due to TokenPolicyParam's reference to PermissionGroups referencing the param.Field[[]TokenPolicyPermissionGroupParam] type. TokenPolicyPermissionGroupParam only references the Meta field. Yet, it seems there...
I have submitted a pull request after digging into this and coming up with a solution that enabled me to successfully generate tokens: https://github.com/cloudflare/cloudflare-go/pull/3906
The method for creating a user token has been fixed and is currently working as intended. The example noted in the documentation works just fine now that the ID field...
This is a side effect of containrrr/watchtower's use of both the https://github.com/prometheus/client_golang package and a default multiplexer. In short, the endpoint gets injected and initialized within https://github.com/prometheus/client_golang/blob/main/prometheus/expvar_collector.go by Go's `expvar`...
My fork uses a custom mux, which alleviates this issue altogether. Your points are accurate and it serves as another reminder of why it's important to use a layered approach...