Skip to content

Commit

Permalink
Coding style: fix Lint/ParenthesesAsGroupedExpression offense
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Oct 17, 2024
1 parent 5c61dc7 commit 66486e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/netbox_client_ruby/api/ipam/ip_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def interface

return nil unless interface_data

if interface_data.key? ('virtual_machine')
if interface_data.key?('virtual_machine')
Virtualization::Interface.new interface_data['id']
else
DCIM::Interface.new interface_data['id']
Expand Down

0 comments on commit 66486e6

Please sign in to comment.