remove _check_improper_restart function
This commit is contained in:
parent
43b6078d0e
commit
7755bcaada
|
@ -33,7 +33,6 @@ function _register_functions() {
|
|||
|
||||
# ? >> Checks
|
||||
|
||||
_register_check_function '_check_improper_restart'
|
||||
_register_check_function '_check_hostname'
|
||||
_register_check_function '_check_log_level'
|
||||
_register_check_function '_check_spam_prefix'
|
||||
|
|
|
@ -14,15 +14,6 @@ function _check() {
|
|||
done
|
||||
}
|
||||
|
||||
function _check_improper_restart() {
|
||||
_log 'debug' 'Checking for improper restart'
|
||||
|
||||
if [[ -f /CONTAINER_START ]]; then
|
||||
_log 'warn' 'This container was (likely) improperly restarted which can result in undefined behavior'
|
||||
_log 'warn' "Please use 'docker compose up --force-recreate' or equivalent (view our troubleshooting docs)"
|
||||
fi
|
||||
}
|
||||
|
||||
function _check_hostname() {
|
||||
_log 'debug' 'Checking that hostname/domainname is provided or overridden'
|
||||
|
||||
|
|
Loading…
Reference in New Issue