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 305
305
306
306
# Generate sagemaker pysdk intelligent default config
307
307
nohup 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
310
310
# do not fail immediately for non-zero exit code returned
311
311
# by start-workflows-container. An expected non-zero exit
312
312
# code will be returned if there is not a minimum of 2
Original file line number Diff line number Diff line change 306
306
307
307
# Generate sagemaker pysdk intelligent default config
308
308
nohup 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
311
311
# do not fail immediately for non-zero exit code returned
312
312
# by start-workflows-container. An expected non-zero exit
313
313
# code will be returned if there is not a minimum of 2
You can’t perform that action at this time.
0 commit comments