Skip to content

Commit

Permalink
fix missing echo -> log conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Jan 26, 2024
1 parent bcfe94c commit 2baa95d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion birdhouse/scripts/detect-user-install-in-jupyter-env
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ls -a */.home/.local/bin

set +x

echo "${MSG_INFO}
log INFO "
Errors like
ls: cannot access */.home/.local/lib/python*/site-packages: No such file or directory
ls: cannot access */.home/.local/bin: No such file or directory
Expand Down
3 changes: 2 additions & 1 deletion birdhouse/scripts/sync-data
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ for item in $GEOSERVER_DATA_DIR/ $JUPYTERHUB_USER_DATA_DIR/ $MAGPIE_PERSIST_DIR/
done

if [ ! x"$FORCE_MODE" = xforce ]; then
echo "${MSG_INFO}Dry-run mode, not executing '$COMPOSE_DIR/deployment/fix-geoserver-data-dir-perm' and other permission fixup"
log INFO "Dry-run mode, not executing '$COMPOSE_DIR/deployment/fix-geoserver-data-dir-perm' and other permission fixup"
else
log INFO "Executing '$COMPOSE_DIR/deployment/fix-geoserver-data-dir-perm' and other permission fixup"
$COMPOSE_DIR/deployment/fix-geoserver-data-dir-perm

docker run --rm --name fix-jupyter-data-dir-perm \
Expand Down

0 comments on commit 2baa95d

Please sign in to comment.