From d8f5d1ba1d57580e71f1f855cab63c38ca6fa2a6 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Thu, 8 Aug 2019 18:29:36 -0700 Subject: [PATCH] Update make-it-so.groovy --- official/make-it-so.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/official/make-it-so.groovy b/official/make-it-so.groovy index 718d69e..9641e22 100755 --- a/official/make-it-so.groovy +++ b/official/make-it-so.groovy @@ -72,10 +72,10 @@ private restoreState(mode) log.debug "setting $it.label level to $level" it.setLevel(level) } - else { + //else { We want the worst case!(No need for else) log.debug "turning $it.label on" it.on() - } + //} } else if (value?.switch == "off") { log.debug "turning $it.label off" -- 2.34.1