Skip to content

chore: Move environment introspection to sshenv module

Lucas Charles requested to merge 496-move-env-introspection-to-sshenv into main

What

Moves assorted os.Getenv usage for inspecting the runtime environment into sshenv module to centralize configuration checks. This Env struct is initialized per connection in the case of gitlab-shell and per request in the case of gitlab-sshd.

Relates issues

Relates to #496 (closed)

Edited by Lucas Charles

Merge request reports