knife-setup 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef/knife/knife-setup.rb +1 -1
- data/lib/knife-setup/version.rb +1 -1
- metadata +1 -1
@@ -245,7 +245,7 @@ class Chef
|
|
245
245
|
request.add_field('Content-Type', 'application/json-rpc')
|
246
246
|
request.body = body
|
247
247
|
response = http.request(request)
|
248
|
-
raise "HTTP Error: #{response.code} on #{url}" unless response.code == "200"
|
248
|
+
raise "HTTP Error: #{response.code} on #{url}" unless response.code == "200" || response.code == "204"
|
249
249
|
end
|
250
250
|
|
251
251
|
end
|
data/lib/knife-setup/version.rb
CHANGED