File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
images/docker-stacks-foundation
tests/docker-stacks-foundation Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ if [ "$(id -u)" == 0 ] ; then
136136 # NOTE: This hook is run as the root user!
137137 # shellcheck disable=SC1091
138138 source /usr/local/bin/run-hooks.sh /usr/local/bin/before-notebook.d
139-
140139 unset_explicit_env_vars
140+
141141 _log " Running as ${NB_USER} :" " ${cmd[@]} "
142142 exec sudo --preserve-env --set-home --user " ${NB_USER} " \
143143 LD_LIBRARY_PATH=" ${LD_LIBRARY_PATH} " \
234234 # shellcheck disable=SC1091
235235 source /usr/local/bin/run-hooks.sh /usr/local/bin/before-notebook.d
236236 unset_explicit_env_vars
237+
237238 _log " Executing the command:" " ${cmd[@]} "
238239 exec " ${cmd[@]} "
239240fi
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ def test_container_not_delete_bind_mount(
243243
244244
245245@pytest .mark .parametrize ("enable_root" , [False , True ])
246- def test_jupyter_env_vars_to_unset_as_root (
246+ def test_jupyter_env_vars_to_unset (
247247 container : TrackedContainer , enable_root : bool
248248) -> None :
249249 """Environment variables names listed in JUPYTER_ENV_VARS_TO_UNSET
You can’t perform that action at this time.
0 commit comments