Skip to content

Conversation

@teaguru
Copy link
Contributor

@teaguru teaguru commented Apr 22, 2024

No description provided.

teaguru added 15 commits April 16, 2024 13:31
- Refactor ExecFargate for KISS/DRY compliance:
  * Extract helper functions (trySSMParent, tryDirectExecution, etc.)
  * Replace boolean flags with execResult struct
  * Reduce ExecFargate from ~180 lines to ~20 lines
  * Improve error handling and readability

- Fix container name handling in exec command:
  * Add validation when container_name flag is not provided
  * Ensure command is not empty after container name extraction
  * Provide clear error messages for invalid usage

- Remove debug print statement from cmd/run.go

- Fix redundant string wrapping in lib/runFargate.go:
  * Remove unnecessary aws.String()/aws.StringValue() wrapping
  * Use strings directly in log fields

- Add documentation comment about public IP usage in Fargate
  * Note that IPv6 implementation will change this behavior

- Fix linter warnings and improve code consistency
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.

2 participants