Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: display correct region in message when no resources are found #440

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

Praveen005
Copy link
Contributor

Description

This PR addresses the issue in #436. It ensures the correct region is displayed when no resources are found.

Changes

  • Added a check to determine if the user has specified a region via the command line flag --region.
  • If a region is specified, its value is used.
  • If no region is specified, the default region is printed.

Print the value of the region flag (if set) instead of the default region.
Copy link
Contributor

@haardikdharma10 haardikdharma10 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @Praveen005 :)

@haardikdharma10 haardikdharma10 merged commit 2dfbe17 into civo:master Jul 11, 2024
@Praveen005
Copy link
Contributor Author

Thanks for the review and approval, @haardikdharma10

@Praveen005 Praveen005 deleted the fix436 branch July 12, 2024 04:45
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