We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Listing firewalls with no rules doesn't display helpful or relevant information
civo fw create test-issue --create-rules=false
civo firewall rule ls test-issue
Output:
The output provided above is not helpful. Instead, the message should be something like:
Firewall test-issue has no rules, to create rules use command civo firewall rule create, for example: civo firewall rule create test-issue -c '0.0.0.0/0' -s 443 -e 443 -l HTTPS
Or something like that
The text was updated successfully, but these errors were encountered:
Hi Team,
for this issue, adding a check to see if firewallRules slice is empty and erroring out with the above suggested message would be okay I believe.
firewallRules
Result:
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Issue
Listing firewalls with no rules doesn't display helpful or relevant information
Output:
Acceptance Criteria
The output provided above is not helpful. Instead, the message should be something like:
Or something like that
The text was updated successfully, but these errors were encountered: