From 81e2c46ed4a9575a09ab307058e7c046addd1f96 Mon Sep 17 00:00:00 2001 From: Sergio Rubio Date: Mon, 18 Mar 2013 12:47:21 +0100 Subject: [PATCH] [digitalocean|compute] initialize compute service mock data --- lib/fog/digitalocean/compute.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/fog/digitalocean/compute.rb b/lib/fog/digitalocean/compute.rb index e00e9d064..52f1adc30 100644 --- a/lib/fog/digitalocean/compute.rb +++ b/lib/fog/digitalocean/compute.rb @@ -42,7 +42,10 @@ module Fog def self.data @data ||= Hash.new do |hash, key| - hash[key] = {} + hash[key] = { + :servers => [], + :ssh_keys => [] + } end end