bosh-monitor 1.3169.0 → 1.3173.0

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: 55eae3f6c29335c35db3bc3af0f19b038730e109
4
- data.tar.gz: c28c865b3ee2aca6fbeb136347fc701ff6606496
3
+ metadata.gz: c2d1fe919b2c8f0888c314140ccdf3a04204777b
4
+ data.tar.gz: c3d46fe6034a1d00012c3447e42b91a7d0e050e7
5
5
  SHA512:
6
- metadata.gz: 10db49aae74b98828dd657626440d97fd5dc370d4e776985850c75054ceb235bfb4a85561dd0dfc02eb6ef068fec45414b18c5a42c915d8feeaedf81629a3e38
7
- data.tar.gz: 2512bd779e07640ea630d4f49ed24d767bd124605c6a246f060ff32b43dffd1efb3db19cc862b1209d22f962e893a5f7dd8fd57e9f4780c888fdcf5e53204600
6
+ metadata.gz: f3d33657a464e9d3b97362a26501659b3d0f3dab49d6fa62206fc498cecf664cd90c58bcd8e09550a364f334d2cb08591e94fe54981d8a4a23d76a72f5c4f033
7
+ data.tar.gz: 602c38cf52a99a4941e43563e51dd9041f88c17a359e45cb4c6bcb7e8bf8cca8790ed7a5f6a4508113a35fcd1744f4f96e2e7d0d275e566f5a152084e687cdbb
@@ -121,7 +121,7 @@ module Bosh::Monitor
121
121
 
122
122
  #if a registration request returns without error we log it
123
123
  #we don't want to send extra registrations
124
- @checklist << event.job if note_type == :register
124
+ @checklist << label_for_event(event) if note_type == :register
125
125
  rescue => e
126
126
  logger.error("Could not forward event to Consul Cluster @#{@host}: #{e.inspect}")
127
127
  end
@@ -158,7 +158,7 @@ module Bosh::Monitor
158
158
  #We keep track so we aren't sending superfluous registrations
159
159
  #Only register ttl for events that have a job assigned
160
160
  def event_unregistered?(event)
161
- @use_ttl && event.respond_to?(:job) && !@checklist.include?(event.job)
161
+ @use_ttl && event.respond_to?(:job) && !@checklist.include?(label_for_ttl(event))
162
162
  end
163
163
 
164
164
  def registration_payload(event)
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Monitor
3
- VERSION = '1.3169.0'
3
+ VERSION = '1.3173.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3169.0
4
+ version: 1.3173.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-31 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine