Skip to content

Commit

Permalink
Use the correct attribute name when initiating evacuations
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Nov 10, 2015
1 parent 029936d commit 33154a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pcmk/NovaEvacuate
Expand Up @@ -141,7 +141,7 @@ evacuate_start() {
}

update_evacuation() {
attrd_updater -p -n evacute -Q -N ${1} -v ${2}
attrd_updater -p -n evacuate -Q -N ${1} -v ${2}
arc=$?
if [ ${arc} != 0 ]; then
ocf_log warn "Can not set evacuation state of ${1} to ${2}: ${arc}"
Expand Down Expand Up @@ -219,7 +219,7 @@ evacuate_monitor() {
return $OCF_NOT_RUNNING
fi

handle_evacuations $(attrd_updater -n evacute -A | tr '="' ' ' | awk '{print $4" "$6}')
handle_evacuations $(attrd_updater -n evacuate -A | tr '="' ' ' | awk '{print $4" "$6}')
return $OCF_SUCCESS
}

Expand Down

0 comments on commit 33154a6

Please sign in to comment.