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

feat: allow deleting rDNS entries #839

Merged
merged 4 commits into from
Aug 14, 2024
Merged

feat: allow deleting rDNS entries #839

merged 4 commits into from
Aug 14, 2024

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented Aug 12, 2024

This PR adds a --reset flag to the set-rdns commands which allows passing a null value as the hostname. This resets the reverse DNS entry to the original entry for the IP.

Fixes #814

@phm07 phm07 added the feature label Aug 12, 2024
@phm07 phm07 self-assigned this Aug 12, 2024
@phm07 phm07 requested a review from a team as a code owner August 12, 2024 13:10
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Project coverage is 59.65%. Comparing base (6fd096b) to head (ce6a70d).

Files Patch % Lines
internal/cmd/base/set_rdns.go 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #839      +/-   ##
==========================================
- Coverage   59.69%   59.65%   -0.04%     
==========================================
  Files         209      209              
  Lines        7696     7701       +5     
==========================================
  Hits         4594     4594              
- Misses       2454     2459       +5     
  Partials      648      648              

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

internal/cmd/base/set_rdns.go Outdated Show resolved Hide resolved
@phm07 phm07 merged commit 129f51d into main Aug 14, 2024
5 checks passed
@phm07 phm07 deleted the reverse-dns-delete branch August 14, 2024 08:11
phm07 pushed a commit that referenced this pull request Aug 30, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.47.0](v1.46.0...v1.47.0)
(2024-08-30)


### Features

* allow deleting rDNS entries
([#839](#839))
([129f51d](129f51d)),
closes [#814](#814)
* **certificate:** allow retrying managed certificate issuance
([#847](#847))
([0223f7d](0223f7d))
* improve datacenter describe server types readability
([#854](#854))
([fc0002c](fc0002c)),
closes [#852](#852)


### Bug Fixes

* `quiet` option sometimes only working as a flag
([#846](#846))
([f7c9ac6](f7c9ac6))
* **image:** only accept numerical ids for update, delete, label
([#844](#844))
([7355571](7355571))
* **load-balancer:** show message if none of --server, --label-selector
or --ip is set ([#849](#849))
([2df45e0](2df45e0))
* **primary-ip:** change protection commands do not allow protection
levels ([#851](#851))
([697a87a](697a87a))

---
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.

fix: allow deleting reverse DNS entries
2 participants