diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-09-08 15:04:21 +0000 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-09-08 15:04:21 +0000 |
commit | d0e09b414a9b069ec7bcbed2880b93c27cf3727c (patch) | |
tree | 16ab2acb6bcaeb1cc88acf01f1f7f4eb9dc1ca76 /cmd/gitlab-shell-authorized-keys-check/main.go | |
parent | 67415dc4f6f293460517d4281b5e4e80e66ffb91 (diff) | |
download | gitlab-shell-d0e09b414a9b069ec7bcbed2880b93c27cf3727c.tar.gz |
refactor: cleanup func signature and remove unused args
Diffstat (limited to 'cmd/gitlab-shell-authorized-keys-check/main.go')
-rw-r--r-- | cmd/gitlab-shell-authorized-keys-check/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/gitlab-shell-authorized-keys-check/main.go b/cmd/gitlab-shell-authorized-keys-check/main.go index bfaeca7..ebe6da9 100644 --- a/cmd/gitlab-shell-authorized-keys-check/main.go +++ b/cmd/gitlab-shell-authorized-keys-check/main.go @@ -11,7 +11,6 @@ import ( "gitlab.com/gitlab-org/gitlab-shell/internal/console" "gitlab.com/gitlab-org/gitlab-shell/internal/executable" "gitlab.com/gitlab-org/gitlab-shell/internal/logger" - "gitlab.com/gitlab-org/gitlab-shell/internal/sshenv" ) func main() { @@ -36,7 +35,7 @@ func main() { logCloser := logger.Configure(config) defer logCloser.Close() - cmd, err := cmd.New(executable, os.Args[1:], sshenv.Env{}, config, readWriter) + cmd, err := cmd.New(os.Args[1:], config, readWriter) if err != nil { // For now this could happen if `SSH_CONNECTION` is not set on // the environment |