use correct PolicyChain in readiness controller

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2020-06-23 16:37:05 +01:00
parent 7cf74ec442
commit 8bb4bb389a

View File

@ -217,7 +217,7 @@ func (c *controllerWrapper) Register(ctx *controllerpkg.Context) (workqueue.Rate
ctx.CMClient,
ctx.KubeSharedInformerFactory,
ctx.SharedInformerFactory,
policies.TriggerPolicyChain,
PolicyChain,
)
c.controller = ctrl