fix: appease linter on darwin (#11154)

Fixing up some linting errors that show up on Darwin, but not in CI.
This commit is contained in:
Spike Curtis
2023-12-12 17:02:28 +04:00
committed by GitHub
parent 2883cad6ad
commit edeb9bb42a
8 changed files with 20 additions and 11 deletions
+2 -1
View File
@@ -4,10 +4,11 @@ import (
"strings"
"sync"
"cdr.dev/slog"
"github.com/gliderlabs/ssh"
"go.uber.org/atomic"
gossh "golang.org/x/crypto/ssh"
"cdr.dev/slog"
)
// localForwardChannelData is copied from the ssh package.
+1 -1
View File
@@ -2,7 +2,7 @@
package agentssh
func getListeningPortProcessCmdline(port uint32) (string, error) {
func getListeningPortProcessCmdline(uint32) (string, error) {
// We are not worrying about other platforms at the moment because Gateway
// only supports Linux anyway.
return "", nil