Skip to content

Commit 6aded4b

Browse files
committed
Fix style
1 parent 04b3d0c commit 6aded4b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

images/docker-stacks-foundation/start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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}" \
@@ -234,6 +234,7 @@ else
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[@]}"
239240
fi

tests/docker-stacks-foundation/test_user_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)