From e028945abffcf8a2e186fdc8aa6e8789956d656d Mon Sep 17 00:00:00 2001 From: Conor Horan-Kates Date: Thu, 25 Aug 2016 10:11:55 -0700 Subject: [PATCH] old expectation was tripping up tests, fixed now --- lib/rouster/deltas.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rouster/deltas.rb b/lib/rouster/deltas.rb index b9594e5..81cdcf3 100644 --- a/lib/rouster/deltas.rb +++ b/lib/rouster/deltas.rb @@ -490,7 +490,7 @@ def get_services(cache=true, humanize=true, type=:all, seed=nil) type.each do |provider| - raise InternalError.new(sprintf('unable to get service information from VM operating system[%s]', os)) unless commands.has_key?(os) + raise InternalError.new(sprintf('unable to get service information from VM operating system[%s]', os)) if provider.eql?(:invalid) raise ArgumentError.new(sprintf('unable to find command provider[%s] for [%s]', provider, os)) if commands[os][provider].nil? @logger.info(sprintf('get_services using provider [%s] on [%s]', provider, os))