Skip to content

Commit

Permalink
Remove explicit return
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobotta committed Sep 22, 2023
1 parent 1741e84 commit 092aa7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hetzner/server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class Hetzner::Server

def host_ip_address
if public_ip_address.nil?
return private_ip_address
private_ip_address
else
return public_ip_address
public_ip_address
end
end

Expand Down

0 comments on commit 092aa7f

Please sign in to comment.