Skip to content

Commit

Permalink
Minor golangci related tidy ups
Browse files Browse the repository at this point in the history
  • Loading branch information
morestatic committed Jul 4, 2022
1 parent a3b9fc7 commit bab32f1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions cmd/tunnelRDP.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//go:build !linux

// TODO: check with TH about the above change
// +build !linux

package cmd

Expand Down
1 change: 0 additions & 1 deletion internal/pkg/config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ func CreateEnvValuesProvider() options.ValuesProvider {
if envVarValue != "" {
envMapValues[paramName] = envVarValue
}
// logrus.Debugf("reading env %s = %s", envVarName, envVarValue)
}

return options.NewMapValuesProvider(envMapValues)
Expand Down
3 changes: 1 addition & 2 deletions internal/pkg/rdp/exec_osx.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//go:build darwin

// TODO: check with TH about the above change
// +build darwin

package rdp

Expand Down
1 change: 0 additions & 1 deletion internal/pkg/utils/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
http2 "github.com/breathbath/go_utils/v2/pkg/http"
)

//revive:disable-next-line
var ErrAPIPasswordAndAPITokenAreBothSet = errors.New("RPORT_API_TOKEN and a password cannot be set at the same time. Please choose one and remove use of the other.")

type Auth interface {
Expand Down

0 comments on commit bab32f1

Please sign in to comment.