Skip to content

Conversation

@phm07
Copy link
Contributor

@phm07 phm07 commented Dec 18, 2025

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 73.52941% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.63%. Comparing base (5c66664) to head (921e4ae).

Files with missing lines Patch % Lines
internal/cmd/primaryip/create.go 66.66% 6 Missing and 1 partial ⚠️
internal/cmd/server/create.go 80.00% 1 Missing ⚠️
internal/cmd/server/list.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1278      +/-   ##
==========================================
- Coverage   72.67%   72.63%   -0.05%     
==========================================
  Files         302      302              
  Lines       10954    10973      +19     
==========================================
+ Hits         7961     7970       +9     
- Misses       2125     2133       +8     
- Partials      868      870       +2     
Flag Coverage Δ
e2e 51.84% <44.11%> (-0.02%) ⬇️
unit 67.60% <73.52%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@phm07 phm07 marked this pull request as ready for review December 18, 2025 16:57
@phm07 phm07 requested a review from a team as a code owner December 18, 2025 16:57
cmd.Flags().String("location", "", "Location of Primary IP")
_ = cmd.RegisterFlagCompletionFunc("location", cmpl.SuggestCandidatesF(client.Location().Names))

cmd.Flags().String("datacenter", "", "Datacenter (ID or name) (deprecated)")
Copy link
Member

Choose a reason for hiding this comment

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

Could you add a snippet to the Long description that describes the deprecation of the flag and links to the changelog entry? Similar to https://github.com/hetznercloud/hcloud-cloud-controller-manager/blob/main/docs/guides/quickstart.md#quick-start

Same for all other commands.

@phm07 phm07 force-pushed the deprecate-datacenter branch from f0fd735 to be26110 Compare January 2, 2026 12:26
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.

3 participants