diff --git a/lib/fog/openstack/models/compute/host.rb b/lib/fog/openstack/models/compute/host.rb index 09448799d..ce1ef5d7d 100644 --- a/lib/fog/openstack/models/compute/host.rb +++ b/lib/fog/openstack/models/compute/host.rb @@ -8,10 +8,11 @@ module Fog class Host < Fog::Model attribute :host_name - attribute :service + attribute :service_name attribute :details def initialize(attributes) + attributes["service_name"] = attributes.delete "service" # Old 'connection' is renamed as service and should be used instead prepare_service_value(attributes) super