mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #1526 from bleything/fix_openstack_compute_metadata_get
[openstack|compute] fix get_metadata call
This commit is contained in:
commit
3290651fb0
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module Fog
|
|||
|
||||
def get(key)
|
||||
requires :parent
|
||||
data = service.get_meta(collection_name, @parent.id, key).body["meta"]
|
||||
data = service.get_metadata(collection_name, @parent.id, key).body["meta"]
|
||||
metas = []
|
||||
data.each_pair {|k,v| metas << {"key" => k, "value" => v} }
|
||||
new(metas[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue