File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 305305
306306# Generate sagemaker pysdk intelligent default config
307307nohup python /etc/sagemaker/sm_pysdk_default_config.py &
308- # Only run the following commands if SAGEMAKER_APP_TYPE_LOWERCASE is jupyterlab
309- if [ " ${SAGEMAKER_APP_TYPE_LOWERCASE} " = " jupyterlab" ]; then
308+ # Only run the following commands if SAGEMAKER_APP_TYPE_LOWERCASE is jupyterlab and domain is not in express mode
309+ if [ " ${SAGEMAKER_APP_TYPE_LOWERCASE} " = " jupyterlab" ] && [ " $is_express_mode " != " true " ] ; then
310310 # do not fail immediately for non-zero exit code returned
311311 # by start-workflows-container. An expected non-zero exit
312312 # code will be returned if there is not a minimum of 2
Original file line number Diff line number Diff line change 306306
307307# Generate sagemaker pysdk intelligent default config
308308nohup python /etc/sagemaker/sm_pysdk_default_config.py &
309- # Only run the following commands if SAGEMAKER_APP_TYPE_LOWERCASE is jupyterlab
310- if [ " ${SAGEMAKER_APP_TYPE_LOWERCASE} " = " jupyterlab" ]; then
309+ # Only run the following commands if SAGEMAKER_APP_TYPE_LOWERCASE is jupyterlab and domain is not in express mode
310+ if [ " ${SAGEMAKER_APP_TYPE_LOWERCASE} " = " jupyterlab" ] && [ " $is_express_mode " != " true " ] ; then
311311 # do not fail immediately for non-zero exit code returned
312312 # by start-workflows-container. An expected non-zero exit
313313 # code will be returned if there is not a minimum of 2
You can’t perform that action at this time.
0 commit comments