Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
damyan committed Dec 4, 2024
1 parent 7744cf0 commit 1fddd49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/cloudprovider/ironcore/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"io"
"log"
"net"
"os"
"time"

"k8s.io/utils/ptr"
Expand Down Expand Up @@ -182,6 +183,11 @@ func (o *cloud) Initialize(clientBuilder cloudprovider.ControllerClientBuilder,
}),
DeleteFunc: nodeutil.CreateDeleteNodeHandler(o.cidrAllocator.ReleaseCIDR),
})
if err != nil {
klog.Error(err, " unable to add components informer event handler")
os.Exit(1)
}

// Create the stopCh channel
stopCh := make(chan struct{})
go o.cidrAllocator.Run(ctx, stopCh)
Expand Down

0 comments on commit 1fddd49

Please sign in to comment.