Skip to content

Commit

Permalink
Single quotes (#3525) (#400)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored and Stuart Paterson committed May 19, 2020
1 parent 360a8e7 commit 815ba19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/google_compute_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def metadata_values

def metadata_value_by_key(metadata_key)
return [] if !defined?(@metadata) || @metadata.nil?
@metadata["items"]&.each do |item|
@metadata['items']&.each do |item|
if item['key'] == metadata_key
return item['value']
end
Expand Down

0 comments on commit 815ba19

Please sign in to comment.