Skip to content

Commit

Permalink
Fix for blockstorage_client changed API
Browse files Browse the repository at this point in the history
The blockstorage_client API changed from positional arguments to a
single hash argument.
  • Loading branch information
agrare committed Oct 10, 2023
1 parent c0c9eb6 commit 8018b68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def availability_domains

def boot_volumes
@boot_volumes ||= availability_domains.flat_map do |availability_domain|
blockstorage_client.list_boot_volumes(availability_domain.name, availability_domain.compartment_id).data
blockstorage_client.list_boot_volumes(:availability_domain => availability_domain.name, :compartment_id => availability_domain.compartment_id).data
end
end

Expand Down Expand Up @@ -105,7 +105,7 @@ def vnic_attachments_by_instance_id

def volumes
@volumes ||= compartments.flat_map do |compartment|
blockstorage_client.list_volumes(compartment.id).data
blockstorage_client.list_volumes(:compartment_id => compartment.id).data
end
end

Expand Down
2 changes: 1 addition & 1 deletion manageiq-providers-oracle_cloud.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "oci", "~> 2.18"
spec.add_dependency "oci", "~> 2.19"

spec.add_development_dependency "manageiq-style"
spec.add_development_dependency "simplecov", ">= 0.21.2"
Expand Down

0 comments on commit 8018b68

Please sign in to comment.