sgx_jmp.rb 🔗
@@ -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}"])