summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@suse.com>2016-02-17 21:08:01 +0100
committerVincent Untz <vuntz@suse.com>2016-02-17 21:08:01 +0100
commit25c306755fc4ad222832f52d3f853141816dff86 (patch)
treefa546daa8808b1ec6664dc03d1b39897b8af415c
parent807c45f37683ca96ca8c5dd2ce2789ce9719fd8e (diff)
NovaCompute: Clarify comment when there's no evacuate attribute
Notes
Notes (review): Code-Review+2: Adam Spiers <aspiers@suse.com> Workflow+1: Adam Spiers <aspiers@suse.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 17 Feb 2016 23:35:36 +0000 Reviewed-on: https://review.openstack.org/281502 Project: openstack/openstack-resource-agents Branch: refs/heads/master
-rw-r--r--ocf/NovaCompute2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocf/NovaCompute b/ocf/NovaCompute
index ebe75c6..5a8bfd4 100644
--- a/ocf/NovaCompute
+++ b/ocf/NovaCompute
@@ -180,7 +180,7 @@ nova_start() {
180 180
181 state=$(attrd_updater -p -n evacuate -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' ) 181 state=$(attrd_updater -p -n evacuate -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' )
182 if [ "x$state" = x ]; then 182 if [ "x$state" = x ]; then
183 : never been fenced 183 : no fencing to recover
184 184
185 elif [ "x$state" = xno ]; then 185 elif [ "x$state" = xno ]; then
186 : has been evacuated, however it could have been 1s ago 186 : has been evacuated, however it could have been 1s ago