mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ovirt] fixed interfaces and volume list.
The return list is now always fog object and not rbovirt objects.
This commit is contained in:
parent
2821afa750
commit
73f10c1037
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ module Fog
|
|||
end
|
||||
|
||||
def interfaces
|
||||
attributes[:interfaces] ||= id.nil? ? [] : Fog::Compute::Ovirt::Interfaces.new(
|
||||
@interfaces ||= id.nil? ? [] : Fog::Compute::Ovirt::Interfaces.new(
|
||||
:service => service,
|
||||
:vm => self
|
||||
)
|
||||
|
@ -68,7 +68,7 @@ module Fog
|
|||
end
|
||||
|
||||
def volumes
|
||||
attributes[:volumes] ||= id.nil? ? [] : Fog::Compute::Ovirt::Volumes.new(
|
||||
@volumes ||= id.nil? ? [] : Fog::Compute::Ovirt::Volumes.new(
|
||||
:service => service,
|
||||
:vm => self
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue