Update $service to $resource this variable does not exist in the context
authorMathieu Bultel <mbultel@redhat.com>
Mon, 3 Oct 2016 14:02:34 +0000 (16:02 +0200)
committerMathieu Bultel <mbultel@redhat.com>
Mon, 3 Oct 2016 15:28:08 +0000 (17:28 +0200)
heat failed due to a:
service: unbound variable
In the context $service is never set.

Change-Id: If82ee4562612f2617b676732956396278ee40a88
Closes-Bug: #1629903

extraconfig/tasks/major_upgrade_pacemaker_migrations.sh

index cd78f83..09d0510 100644 (file)
@@ -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