Add daemon-selected container monitor delegation
This commit is contained in:
@@ -88,6 +88,16 @@ mc_proxy_monitor()
|
||||
return "${MC_PROXY_RC_HARD_FAILURE}"
|
||||
fi
|
||||
|
||||
# Delegated monitor execution is a valid control-plane response, but it is
|
||||
# not itself an OCF observation and must never be written to the healthy
|
||||
# role cache. The caller validates and executes the packaged runtime path.
|
||||
case "${response}" in
|
||||
delegate\|*)
|
||||
printf '%s\n' "${response}"
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
rc="${response%%|*}"
|
||||
|
||||
# Cache only healthy daemon-authoritative role observations. An
|
||||
|
||||
Reference in New Issue
Block a user