Skip to content

Commit

Permalink
refactor: trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmetzner committed Oct 31, 2024
1 parent 30fe686 commit 3030575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hcloud/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ func (c *cloud) Initialize(clientBuilder cloudprovider.ControllerClientBuilder,

eventBroadcaster := record.NewBroadcaster()
eventBroadcaster.StartRecordingToSink(&v1.EventSinkImpl{Interface: client.CoreV1().Events("")})

go func() {
<-stop
eventBroadcaster.Shutdown()
}()

recorder := eventBroadcaster.NewRecorder(scheme.Scheme, corev1.EventSource{Component: "hcloud-cloud-controller-manager"})
c.recorder = recorder
}
Expand Down

0 comments on commit 3030575

Please sign in to comment.