mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user