Skip to content

Commit

Permalink
Minor Rubocop fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Paterson <spaterson@chef.io>
  • Loading branch information
Stuart Paterson committed Aug 29, 2018
1 parent 5144754 commit 27f3fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/google_compute_region.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def initialize(opts = {})
# https://www.googleapis.com/compute/v1/projects/spaterson-project/zones/asia-east1-a
def zone_names
return false if !defined?(@region.zones)
@region.zones.map {|zone| zone.split('/').last }
@region.zones.map { |zone| zone.split('/').last }
end

def exists?
Expand Down

0 comments on commit 27f3fb8

Please sign in to comment.