Github user sohami commented on a diff in the pull request:
https://github.com/apache/drill/pull/1203#discussion_r181253785
--- Diff: exec/java-exec/src/main/resources/rest/index.ftl ---
@@ -283,20 +308,114 @@
alert(errorThrown);
},
success: function(data) {
- alert(data["response"]);
+ alert(data["response"]);
button.prop('disabled',true).css('opacity',0.5);
}
});
}
}
- </#if>
+
+ function remoteShutdown(button,host) {
--- End diff --
this function is mostly same as existing `shutdown(button)`. Consider
change that to take host parameter and use that instead.
---