From: Dies Koper <di...@fast.au.fujitsu.com> --- server/lib/cimi/service/volume.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/lib/cimi/service/volume.rb b/server/lib/cimi/service/volume.rb index 2e38691..969da43 100644 --- a/server/lib/cimi/service/volume.rb +++ b/server/lib/cimi/service/volume.rb @@ -48,7 +48,7 @@ class CIMI::Service::Volume < CIMI::Service::Base def self.from_storage_volume(volume, context) self.new(context, :values => { - :name => volume.id, + :name => volume.name || volume.id, :created => volume.created.nil? ? nil : Time.parse(volume.created).xmlschema, :id => context.volume_url(volume.id), :capacity => context.to_kibibyte(volume.capacity, 'GB'), -- 1.8.0.msysgit.0