bosh_cpi 2.1.0 → 2.1.1

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: 9c793d1b2bfdbf9739de5bf71763c6f0cc562adc
4
- data.tar.gz: f21da40fa3a3692e8e2bbc1aac209808be4d2e5b
3
+ metadata.gz: ffd3c218054777992a6c8723c8aa68dea2853506
4
+ data.tar.gz: d1fc80d315583bf6d3ef55ed23e11fad25631a90
5
5
  SHA512:
6
- metadata.gz: aa71c38d65dc2b04575f13f14ca0f8c39fe49275c8232c3ae6c6441004444b069703850bea9206275aaa44530252303564222b8573e06e36f0c34d9fb55e8bc6
7
- data.tar.gz: 73d2b55cac2809c78b30a4dfacc0d84c19e544dd2fcd1f238f020420685e0d9d4287443e5f6b825e65edf79e699499aff19af34f318c39882d43610552a29be8
6
+ metadata.gz: 64f0f0055c4c64e9683b8c78457f6563d7b55164aabcffaf6c5684d58e3a6e119c8e6f21f0f00c480c45538762094b74ef8e2881c46b1c545453e283da4fa601
7
+ data.tar.gz: 9c33aac2b1cbf049ca4f7dc50830603d3012160b2f7229167168e1f49f54279de71bf495d5d11e82e0a7e5a9160073c5101ab1cbd33c91a7f03cfa93d2d071eb
@@ -41,8 +41,9 @@ module Bosh::Cpi
41
41
 
42
42
  payload = JSON.dump(settings)
43
43
  url = "#{@endpoint}/instances/#{instance_id}/settings"
44
+ put_headers = @headers.merge('Content-Type' => 'application/json')
44
45
 
45
- response = @client.put(url, {:body => payload, :header => @headers})
46
+ response = @client.put(url, {:body => payload, :header => put_headers})
46
47
 
47
48
  unless HTTP::Status.successful?(response.status)
48
49
  cloud_error("Cannot update settings for '#{instance_id}', got HTTP #{response.status}")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-30 00:00:00.000000000 Z
11
+ date: 2017-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: membrane