Skip to content

Conversation

@bomoko
Copy link
Contributor

@bomoko bomoko commented Feb 14, 2025

With non-interactive ssh calls, the RunSSHCommand function was exiting with only an error returned, but not outputting anything that came back via stdout, as it would on successful calls.

This meant that we were losing some important information in the output. This PR simply ensures that if there is data buffered from stdout, we're displaying in.

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

Closing issues

closes #426

@bomoko bomoko requested a review from shreddedbacon February 14, 2025 01:22
Copy link
Member

@shreddedbacon shreddedbacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

@shreddedbacon shreddedbacon merged commit 2221499 into main Feb 17, 2025
7 checks passed
@shreddedbacon shreddedbacon deleted the fix/better_output_for_interactive_shell branch February 17, 2025 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Insufficient error messages when running lagoon ssh with -C

3 participants