use attrd_updater -U (-v is a legacy option)
attrd_updater deprecated usage of -v a long time ago in favour of -U:
927660ba0c
so change the agent to use the documented option.
Change-Id: I4e19ef3e22c822bc7a6da98f684d67988367ef25
Signed-off-by: Adam Spiers <aspiers@suse.com>
This commit is contained in:
@@ -141,7 +141,7 @@ evacuate_start() {
|
||||
}
|
||||
|
||||
update_evacuation() {
|
||||
attrd_updater -p -n evacuate -Q -N ${1} -v ${2}
|
||||
attrd_updater -p -n evacuate -Q -N ${1} -U ${2}
|
||||
arc=$?
|
||||
if [ ${arc} != 0 ]; then
|
||||
ocf_log warn "Can not set evacuation state of ${1} to ${2}: ${arc}"
|
||||
|
||||
Reference in New Issue
Block a user