nat-monitor 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46e8ab866dcf93fffe4bc50c8cd300273be2b300
4
- data.tar.gz: 5b10a2a246da2008bacd8842e826a55f6d0aa9fd
3
+ metadata.gz: 03a4f002002bf2a7a81ba4940f5d1f89af11f821
4
+ data.tar.gz: 8cc72e0523c67f940b70443da9b881d3a131b217
5
5
  SHA512:
6
- metadata.gz: 262934723c959616ba7e7697b7f91e306eacd5ae22246fd934eda3c4ebfecb2a6267cd112479f08bb22c275ff8fb621b56f6ce184c7194f1882d793f0d6f1feb
7
- data.tar.gz: d8911108b9971b96905d46e9f8b551ad9771b28e14562abb79a3346a0fb0b105ac6907f07810547e66907a5dad5d8dfa3d29a2f22607ffca24a442f4d2e1e690
6
+ metadata.gz: 1026e48667c1fe354c666ffade6fa6938fd8eb035596c6138f678caa4dea37156f3c99f11fdd255a5daff4f3f9d4217806f6ffb3ad2eaca6fec6a943533df9e0
7
+ data.tar.gz: 7ba079128248ff10a29624bbd835f8ea264d5193b20cb3f09e513e122bf9f91effee16f0ab4841618f9fbdbd399169827f04725f7ec7a0022c32e7445b8074ac
@@ -157,7 +157,7 @@ module EtTools
157
157
  end
158
158
 
159
159
  def notify_monitor(status, msg = nil)
160
- output msg
160
+ output msg unless msg.nil?
161
161
  return unless @conf['monitor_enabled']
162
162
  url = @conf['monitor_urls'][status]
163
163
  url += "?msg=#{msg}" if status == 'fail' && !msg.nil?
@@ -1,5 +1,5 @@
1
1
  module EtTools
2
2
  class NatMonitor
3
- VERSION = '3.0.4'
3
+ VERSION = '3.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nat-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Herot