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(firewall): wrong wording when firewall is removed from resource #812

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented Jul 10, 2024

Closes #809

@phm07 phm07 added the bug label Jul 10, 2024
@phm07 phm07 self-assigned this Jul 10, 2024
@phm07 phm07 requested a review from a team as a code owner July 10, 2024 13:54
@phm07 phm07 marked this pull request as draft July 10, 2024 13:55
@phm07 phm07 force-pushed the fix-firewall-remove-wording branch from f4fb928 to 3580576 Compare July 10, 2024 13:57
@phm07
Copy link
Contributor Author

phm07 commented Jul 10, 2024

I reworded it again because Firewall ... removed sounded like the firewall itself was removed. I adjusted it and also change the apply message to make it consistent.

@phm07 phm07 marked this pull request as ready for review July 10, 2024 13:58
@phm07 phm07 requested a review from jooola July 10, 2024 13:58
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.60%. Comparing base (320300c) to head (29251a1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #812   +/-   ##
=======================================
  Coverage   59.60%   59.60%           
=======================================
  Files         210      210           
  Lines        7655     7655           
=======================================
  Hits         4563     4563           
  Misses       2450     2450           
  Partials      642      642           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -43,7 +43,7 @@ func TestApplyToServer(t *testing.T) {

out, errOut, err := fx.Run(cmd, []string{"--type", "server", "--server", "my-server", "test"})

expOut := "Firewall 123 applied\n"
expOut := "Firewall 123 applied to resource\n"
Copy link
Member

Choose a reason for hiding this comment

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

We might target many resources when using the label selector, but I think this is good enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could also add special messages like Firewall 123 applied to label selector xyz

@phm07 phm07 merged commit 9017a65 into main Jul 10, 2024
5 checks passed
@phm07 phm07 deleted the fix-firewall-remove-wording branch July 10, 2024 15:53
apricote pushed a commit that referenced this pull request Jul 17, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.45.0](v1.44.2...v1.45.0)
(2024-07-17)


### Features

* allow configuring default sort columns for each supported resource
([#795](#795))
([f6877a1](f6877a1))
* better error messages on malformed option value
([#798](#798))
([8c6fec9](8c6fec9))


### Bug Fixes

* **config:** ordering of list option values not preserved
([#805](#805))
([1ac27bf](1ac27bf))
* debug log is truncated if it already exists
([#793](#793))
([c3d3a9f](c3d3a9f))
* **firewall:** wrong wording when firewall is removed from resource
([#812](#812))
([9017a65](9017a65)),
closes [#809](#809)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wording when a firewall is removed from resource is wrong
2 participants