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:
Adam Spiers
2015-11-23 11:28:13 +00:00
parent 2a0a39feb1
commit 528a6536c7

View File

@@ -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}"