Skip to content
Browse files

vcd client no longer returns nil on 404

  • Loading branch information...
1 parent f170661 commit db67d3d5e88c27ae6e83db97b6813598941b7004 @dhruvbansal dhruvbansal committed Sep 20, 2013
Showing with 1 addition and 7 deletions.
  1. +1 −7 lib/wukong-deploy/deploy_pack.rb
View
8 lib/wukong-deploy/deploy_pack.rb
@@ -190,13 +190,7 @@ def self.read_remote_settings
end
topic = "deploy_packs.#{name}"
remote_settings = vayacondios_client.get(topic)
- if remote_settings
- if remote_settings.is_a?(Hash)
- settings.merge(remote_settings)
- else
- Wukong::Log.warn("Remote settings for <#{topic}> must be a Hash. Got: #{remote_settings}")
- end
- end
+ settings.merge(remote_settings) if remote_settings.success?
end
end

0 comments on commit db67d3d

Please sign in to comment.
Something went wrong with that request. Please try again.