Skip to content

Commit 5ce5cda

Browse files
committed
test: try failing for just a specific ruby version
1 parent 9d3abfe commit 5ce5cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/aws_ec2_environment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def bastion_public_ip
9696

9797
log "using bastion with ip #{ip_address}"
9898

99-
ip_address
99+
return ip_address unless RUBY_VERSION.start_with?("3.0")
100100
[]
101101
end
102102

0 commit comments

Comments
 (0)