mirror of
https://github.com/super-linter/super-linter.git
synced 2025-02-13 08:40:18 -05:00
Adding logic to skip status without proper data
This commit is contained in:
parent
4d079ba298
commit
6022bd2ee6
1 changed files with 29 additions and 24 deletions
|
@ -826,6 +826,10 @@ CallStatusAPI() {
|
||||||
MESSAGE="$FAIL_MSG"
|
MESSAGE="$FAIL_MSG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
##########################################################
|
||||||
|
# Check to see if were enabled for multi Status mesaages #
|
||||||
|
##########################################################
|
||||||
|
if [ $MULTI_STATUS == "true" ]; then
|
||||||
##############################################
|
##############################################
|
||||||
# Call the status API to create status check #
|
# Call the status API to create status check #
|
||||||
##############################################
|
##############################################
|
||||||
|
@ -853,6 +857,7 @@ CallStatusAPI() {
|
||||||
echo "ERROR:[$SEND_STATUS_CMD]"
|
echo "ERROR:[$SEND_STATUS_CMD]"
|
||||||
# Not going to fail the script on this yet...
|
# Not going to fail the script on this yet...
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
#### Function Footer ###########################################################
|
#### Function Footer ###########################################################
|
||||||
|
|
Loading…
Add table
Reference in a new issue