Skip to content

Commit

Permalink
vcd client no longer returns nil on 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruv Bansal committed Sep 20, 2013
1 parent f170661 commit db67d3d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/wukong-deploy/deploy_pack.rb
Expand Up @@ -190,13 +190,7 @@ def self.read_remote_settings
end end
topic = "deploy_packs.#{name}" topic = "deploy_packs.#{name}"
remote_settings = vayacondios_client.get(topic) remote_settings = vayacondios_client.get(topic)
if remote_settings settings.merge(remote_settings) if remote_settings.success?
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
end end


end end
Expand Down

0 comments on commit db67d3d

Please sign in to comment.