Wire contexts to Disruption controllers

This commit is contained in:
ravisantoshgudimetla
2021-04-22 14:34:55 -04:00
parent adbda068c1
commit 65ff81757d
6 changed files with 152 additions and 141 deletions

View File

@@ -58,6 +58,6 @@ func startDisruptionController(ctx context.Context, controllerContext Controller
controllerContext.RESTMapper,
scaleClient,
client.Discovery(),
).Run(ctx.Done())
).Run(ctx)
return nil, true, nil
}