examples/container_infra/basics.rb in fog-openstack-0.3.0 vs examples/container_infra/basics.rb in fog-openstack-0.3.1
- old
+ new
@@ -10,10 +10,10 @@
}
container_infra = Fog::ContainerInfra::OpenStack.new(params)
# Get the Fedora Atomic image
-image = Fog::Image::OpenStack.new(params)
+image = Fog::OpenStack::Image.new(params)
unless image.images.map(&:name).include?("fedora-atomic-latest")
puts "Couldn't find Fedora Atomic. Uploading to Glance..."
fedora = image.images.create name: "fedora-atomic-latest",
disk_format: "qcow2",