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 f32999e commit 71ea1adCopy full SHA for 71ea1ad
providers/single/provider.go
@@ -45,7 +45,12 @@ func New(name string, cl cluster.Cluster) *Provider {
45
}
46
47
// Run starts the provider and blocks.
48
-func (p *Provider) Run(ctx context.Context, _ mcmanager.Manager) error {
+func (p *Provider) Run(ctx context.Context, mgr mcmanager.Manager) error {
49
+ if mgr != nil {
50
+ if err := mgr.Engage(ctx, p.name, p.cl); err != nil {
51
+ return err
52
+ }
53
54
<-ctx.Done()
55
return nil
56
0 commit comments