Skip to content

Commit

Permalink
Merge pull request #435 from inspec/RESOURCE-586-fix-the-build-lint-i…
Browse files Browse the repository at this point in the history
…ssue-in-inspec-gcp

RESOURCE-586  Fix the build lint issue in inspec-gcp
  • Loading branch information
soumyo13 authored Jan 31, 2023
2 parents 4c407ff + 92f21a4 commit 2fa1f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/google_sql_database_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def authorized_networks
end

def primary_ip_address
return '' if !@ip_addresses.size.zero? || @ip_addresses[0].ip_address.nil?
return '' if !@ip_addresses.size.empty? || @ip_addresses[0].ip_address.nil?
@ip_addresses[0].ip_address
end

Expand Down

0 comments on commit 2fa1f21

Please sign in to comment.