Skip to content

Commit

Permalink
test: cause a failure
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Sep 3, 2023
1 parent 1f96dfe commit 9d3abfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/aws_ec2_environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def bastion_public_ip
log "using bastion with ip #{ip_address}"

ip_address
[]
end

# Builds a +ProxyCommand+ that can be used with +ssh+ to connect through the bastion instance,
Expand Down
2 changes: 1 addition & 1 deletion lib/aws_ec2_environment/ssm_port_forwarding_session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def update_cmd_output
# do nothing as we don't want to block
rescue Errno::EIO
output = @cmd_output.strip
output = "<nothing was outputted by process>" if output.empty?
# output = "<nothing was outputted by process>" if output.empty?

raise SessionProcessError, output
end
Expand Down

0 comments on commit 9d3abfe

Please sign in to comment.