diff options
author | Nick Thomas <nick@gitlab.com> | 2021-03-16 15:25:44 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2021-03-16 15:25:44 +0000 |
commit | dc2bddcc325f224ba074cb4d67ecba44ed15daae (patch) | |
tree | 9c37f5ade4a95622b30a7a47befcb46b185b9682 /cmd/gitlab-shell-authorized-keys-check/main.go | |
parent | e79f115d93a9f00f3e4f8a22ec770fdf4c3e1947 (diff) | |
parent | d539068dc372e46d10adee89e9b96b59156a2bb6 (diff) | |
download | gitlab-shell-dc2bddcc325f224ba074cb4d67ecba44ed15daae.tar.gz |
Merge branch '496-move-env-introspection-to-sshenv' into 'main'
chore: Move environment introspection to sshenv module
See merge request gitlab-org/gitlab-shell!451
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, 2 insertions, 1 deletions
diff --git a/cmd/gitlab-shell-authorized-keys-check/main.go b/cmd/gitlab-shell-authorized-keys-check/main.go index ba8ddd8..8746353 100644 --- a/cmd/gitlab-shell-authorized-keys-check/main.go +++ b/cmd/gitlab-shell-authorized-keys-check/main.go @@ -10,6 +10,7 @@ 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() { @@ -33,7 +34,7 @@ func main() { logger.Configure(config) - cmd, err := command.New(executable, os.Args[1:], config, readWriter) + cmd, err := command.New(executable, os.Args[1:], sshenv.Env{}, config, readWriter) if err != nil { // For now this could happen if `SSH_CONNECTION` is not set on // the environment |