diff --git a/checks/check_extra7110 b/checks/check_extra7110 index 7b6a16b9..42488768 100644 --- a/checks/check_extra7110 +++ b/checks/check_extra7110 @@ -25,7 +25,7 @@ extra7110(){ if [[ $LIST_SM_NB_JOBS ]];then for nb_job_name in $LIST_SM_NB_JOBS; do SM_NB_SUBNETS=$($AWSCLI $PROFILE_OPT --region $regx sagemaker describe-training-job --training-job-name $nb_job_name --query 'VpcConfig.Subnets' --output text) - if [[ $SM_NB_SUBNETS -eq "None" ]]; then + if [[ $SM_NB_SUBNETS == "None" ]]; then textFail "${regx}: Sagemaker Training job $nb_job_name has VPC settings for the training job volume and output disabled" "${regx}" else textPass "${regx}: Sagemaker Training job $nb_job_name has VPC settings for the training job volume and output enabled" "${regx}"