summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Bultel <mbultel@redhat.com>2016-10-03 16:02:34 +0200
committerMathieu Bultel <mbultel@redhat.com>2016-10-03 17:28:08 +0200
commitdc6f93da4f33723de52022593450952d24be7390 (patch)
tree1cd8166c29de4b88b0069594b9081669a8ad4df7
parent935fbd6febc7e58257a3d252354011b00cac1a97 (diff)
Update $service to $resource this variable does not exist in the context
heat failed due to a: service: unbound variable In the context $service is never set. Change-Id: If82ee4562612f2617b676732956396278ee40a88 Closes-Bug: #1629903
-rw-r--r--extraconfig/tasks/major_upgrade_pacemaker_migrations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh b/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh
index cd78f838..09d0510c 100644
--- a/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh
+++ b/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh
@@ -154,7 +154,7 @@ function migrate_full_to_ng_ha {
fi
pcs resource delete --force "$resource"
else
- log_debug "Service $service not found as a pacemaker resource, not trying to delete."
+ log_debug "Service $resource not found as a pacemaker resource, not trying to delete."
fi
done