Chore: Fix up various linting issues

In prep to add golangci-lint, fix various linting issues.
* Make the `kvm` package a fully-qualified public package.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2024-12-31 15:23:33 +01:00
parent 4884240f5f
commit d3641bb4b9
9 changed files with 17 additions and 13 deletions

View File

@@ -150,7 +150,7 @@ func runWebsocketClient() error {
if err != nil {
return err
}
defer c.CloseNow()
defer c.CloseNow() //nolint:errcheck
cloudLogger.Infof("websocket connected to %s", wsURL)
runCtx, cancelRun := context.WithCancel(context.Background())
defer cancelRun()