Skip to content

Commit

Permalink
Fix Ruby 3.0 kwargs error in #copy_object
Browse files Browse the repository at this point in the history
  • Loading branch information
deeeki committed May 15, 2021
1 parent b2a3a23 commit 859ec5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/storage/google_json/requests/copy_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def copy_object(source_bucket, source_object,
target_bucket, target_object, options = {})
request_options = ::Google::Apis::RequestOptions.default.merge(options)

object = ::Google::Apis::StorageV1::Object.new(options)
object = ::Google::Apis::StorageV1::Object.new(**options)

@storage_json.copy_object(source_bucket, source_object,
target_bucket, target_object,
Expand Down

0 comments on commit 859ec5f

Please sign in to comment.