projectcapsule / capsule-proxy

Reverse proxy for Capsule Operator.
https://github.com/projectcapsule/capsule
Apache License 2.0
44 stars 40 forks source link

fix(controller): correct client overwrites #434

Closed oliverbaehler closed 5 months ago

oliverbaehler commented 5 months ago

Fixes #390

If I understand correctly, the client needs to swaped. since GetClient():

// GetClient returns a client configured with the Config. This client may
// not be a fully "direct" client -- it may read from a cache, for
// instance.  See Options.NewClient for more information on how the default
// implementation works.