Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Minor refactors and fixing S3 --buckets flag#138

Merged
martialblog merged 4 commits into
mainfrom
refactor-and-fixes
Jan 16, 2023
Merged

Minor refactors and fixing S3 --buckets flag#138
martialblog merged 4 commits into
mainfrom
refactor-and-fixes

Conversation

@martialblog
Copy link
Copy Markdown
Member

@martialblog martialblog commented Jan 10, 2023

Add proper error handling to --buckets flag.

Fixes #136

However, should be noted that this now fails with UNKOWN if there are no buckets. A flag was added to toggle this behaviour.

This branch also has some minor refactors:

  • Normalize EC2 Client name, so that it's inline with other Clients
  • Remove status package to improve readability, was just a small file in the package

 - A package can still be created if required, for now this improves the readability
@martialblog martialblog added this to the v0.2.0 milestone Jan 10, 2023
@martialblog
Copy link
Copy Markdown
Member Author

@pdorschner I added a flag to toggle whether no buckets should be OK or UNKNOWN

Copy link
Copy Markdown
Contributor

@pdorschner pdorschner left a comment

Choose a reason for hiding this comment

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

lgtm

@martialblog martialblog merged commit eb06fad into main Jan 16, 2023
@martialblog martialblog deleted the refactor-and-fixes branch January 16, 2023 08:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S3 --buckets option doens't work as expected

2 participants