lib/fog/openstack/compute.rb in fog-1.10.1 vs lib/fog/openstack/compute.rb in fog-1.11.0
- old
+ new
@@ -224,11 +224,12 @@
'key_pairs' => 10,
'gigabytes' => 5000,
'volumes' => 10,
'cores' => 20,
'ram' => 51200
- }
+ },
+ :volumes => {}
}
end
end
def self.reset
@@ -336,10 +337,10 @@
'Accept' => 'application/json',
'X-Auth-Token' => @auth_token
}.merge!(params[:headers] || {}),
:host => @host,
:path => "#{@path}/#{@tenant_id}/#{params[:path]}",
- :query => params[:query] || ('ignore_awful_caching' << Time.now.to_i.to_s)
+ :query => params[:query]
}))
rescue Excon::Errors::Unauthorized => error
if error.response.body != 'Bad username or password' # token expiration
@openstack_must_reauthenticate = true
authenticate