From 39315954ce7ff66e10da7ea6344b9511a72035ec Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Wed, 23 Jul 2014 18:03:31 +0900 Subject: [PATCH] Use device_absent for lifecycle_ended. --- lib/roles/device/plugins/group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roles/device/plugins/group.js b/lib/roles/device/plugins/group.js index bdfa8714..7543c453 100644 --- a/lib/roles/device/plugins/group.js +++ b/lib/roles/device/plugins/group.js @@ -160,7 +160,7 @@ module.exports = syrup.serial() }) lifecycle.observe(function() { - return plugin.leave('lifecycle_ended') + return plugin.leave('device_absent') .catch(grouputil.NoGroupError, function() { return true })