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: refetch after creating managed certificate #685

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

n9v9
Copy link
Contributor

@n9v9 n9v9 commented Jan 29, 2024

When creating a managed certificate, the complete data is only available once the related action has completed. Instead of then returning the initial response data, we now fetch the certificate and return this request's response data.

When creating a managed certificate, the complete data is only available
once the related action has completed. Instead of then returning the
initial response data, we now fetch the certificate and return this
request's response data.
@n9v9 n9v9 requested a review from a team as a code owner January 29, 2024 09:20
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (5bb0350) 45.47% compared to head (3e7e73b) 45.46%.
Report is 1 commits behind head on main.

Files Patch % Lines
internal/cmd/certificate/create.go 50.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #685      +/-   ##
==========================================
- Coverage   45.47%   45.46%   -0.02%     
==========================================
  Files         179      179              
  Lines        7886     7890       +4     
==========================================
+ Hits         3586     3587       +1     
- Misses       3844     3846       +2     
- Partials      456      457       +1     

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

Copy link
Member

@apricote apricote left a comment

Choose a reason for hiding this comment

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

Thank you very much! Code looks good :)

@apricote apricote merged commit 4864553 into hetznercloud:main Jan 29, 2024
3 checks passed
apricote pushed a commit that referenced this pull request Feb 1, 2024
## [1.42.0](v1.41.1...v1.42.0) (2024-02-01)


### Features

* add global --quiet flag to hide non-error messages
([#656](#656))
([25fcbbf](25fcbbf)),
closes [#644](#644)
* allow adding/removing multiple labels at once
([#665](#665))
([919c446](919c446)),
closes [#662](#662)
* group subcommands in command help
([#675](#675))
([0cb271f](0cb271f))
* **server:** remove unsupported linux32 rescue type
([#679](#679))
([5bb0350](5bb0350))


### Bug Fixes

* refetch after creating managed certificate
([#685](#685))
([4864553](4864553))
* **server:** fix typo in ip subcommand
([#678](#678))
([c5e3f00](c5e3f00))
* use --poll-interval flag
([#660](#660))
([b9328a6](b9328a6))
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