We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af4c8a commit 69b4b89Copy full SHA for 69b4b89
providers/single/provider.go
@@ -44,7 +44,10 @@ func New(name string, cl cluster.Cluster) *Provider {
44
}
45
46
// Run starts the provider and blocks.
47
-func (p *Provider) Run(ctx context.Context, _ mcmanager.Manager) error {
+func (p *Provider) Run(ctx context.Context, mgr mcmanager.Manager) error {
48
+ if err := mgr.Engage(ctx, p.name, p.cl); err != nil {
49
+ return err
50
+ }
51
<-ctx.Done()
52
return nil
53
0 commit comments