~singpolyma/sgx-jmp

5d843c03a87a70bc550542507cce80a15a5d5b97 — Stephen Paul Weber 1 year, 2 months ago 282fb20
Hotfix: this was still being used in one place, but got removed
1 files changed, 9 insertions(+), 0 deletions(-)

M sgx_jmp.rb
M sgx_jmp.rb => sgx_jmp.rb +9 -0
@@ 666,6 666,15 @@ Command.new(
	end
}.register(self).then(&CommandList.method(:register))

def reply_with_note(iq, text, type: :info)
	reply = iq.reply
	reply.status = :completed
	reply.note_type = type
	reply.note_text = text

	self << reply
end

command :execute?, node: "web-register" do |iq|
	StatsD.increment("command", tags: ["node:#{iq.node}"])