Skip to content

Commit f94e86d

Browse files
committed
Remove Provider.Run noop
1 parent 5957f36 commit f94e86d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

providers/multi/provider.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ func (p *Provider) SetManager(mgr mctrl.Manager) {
7777
p.mgr = mgr
7878
}
7979

80-
// Run starts the provider and blocks until the context is done. This is a noop.
81-
func (p *Provider) Run(ctx context.Context, mgr mctrl.Manager) error {
82-
<-ctx.Done()
83-
return nil
84-
}
85-
8680
func (p *Provider) splitClusterName(clusterName string) (string, string) {
8781
parts := strings.SplitN(clusterName, p.opts.Separator, 2)
8882
if len(parts) < 2 {

0 commit comments

Comments
 (0)