lib/fulmar/domain/service/helper/common_helper.rb in fulmar-2.1.2 vs lib/fulmar/domain/service/helper/common_helper.rb in fulmar-2.2.0
- old
+ new
@@ -56,10 +56,10 @@
def ssh_config
storage['ssh_config'] ||= Fulmar::Infrastructure::Service::SSHConfigService.new config
end
def storage
- fail 'You need to set an environment and a target first' unless config.ready?
+ raise 'You need to set an environment and a target first' unless config.ready?
@storage ||= {}
@storage[config.environment] ||= {}
@storage[config.environment][config.target] ||= {}
end