Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhangi-google committed Dec 20, 2024
1 parent ed9d566 commit 85ab0df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def self.from_gapi gapi_list, service, prefix = nil, max = nil,
buckets.instance_variable_set :@prefix, prefix
buckets.instance_variable_set :@max, max
buckets.instance_variable_set :@user_project, user_project
buckets.instance_variable_set :@soft_deleted, soft_deleted
buckets
end

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-storage/lib/google/cloud/storage/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def buckets prefix: nil, token: nil, max: nil, user_project: nil, soft_deleted:
# soft_deleted: true,
# generation: 1234567889
# puts bucket.name
#
#
def bucket bucket_name,
skip_lookup: false,
generation: nil,
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-storage/samples/acceptance/project_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
end

describe "storage_soft_deleted_bucket" do
let(:storage_client) { Google::Cloud::Storage.new }
let(:storage_client) { Google::Cloud::Storage.new }
let(:bucket) { fixture_bucket }
let(:generation) { bucket.gapi.generation }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

# [START storage_list_soft_deleted_buckets]
def list_soft_deleted_buckets

require "google/cloud/storage"

storage = Google::Cloud::Storage.new
Expand All @@ -28,4 +27,4 @@ def list_soft_deleted_buckets
end
# [END storage_list_soft_deleted_buckets]

list_soft_deleted_buckets if $PROGRAM_NAME == __FILE__
list_soft_deleted_buckets if $PROGRAM_NAME == __FILE__

0 comments on commit 85ab0df

Please sign in to comment.