Skip to content

feat: remove datacenter property from server and primary_ip#1449

Draft
lukasmetzner wants to merge 3 commits into
mainfrom
feat/datacenter-property-removed
Draft

feat: remove datacenter property from server and primary_ip#1449
lukasmetzner wants to merge 3 commits into
mainfrom
feat/datacenter-property-removed

Conversation

@lukasmetzner

Copy link
Copy Markdown
Contributor

Remove the datacenter property from Server and Primary IP resource where possible. The property was deprecated ~6 months ago, and because the property is removed from the API, removing it from our code is not considered a breaking change.

@lukasmetzner

Copy link
Copy Markdown
Contributor Author

Needs hetznercloud/hcloud-go#890 and rebase

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 51.49%. Comparing base (dee28e0) to head (569769f).

Files with missing lines Patch % Lines
internal/cmd/primaryip/describe.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1449       +/-   ##
===========================================
- Coverage   72.86%   51.49%   -21.38%     
===========================================
  Files         300      295        -5     
  Lines       11124    10838      -286     
===========================================
- Hits         8106     5581     -2525     
- Misses       2119     4710     +2591     
+ Partials      899      547      -352     
Flag Coverage Δ
e2e 51.49% <75.00%> (+0.13%) ⬆️
unit ?

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

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant