Skip to content

feat(volume): add --assignee and --assignee-type flags - #1527

Open
phm07 wants to merge 1 commit into
mainfrom
volume-assignee
Open

phm07 wants to merge 1 commit into
mainfrom
volume-assignee

Conversation

@phm07

@phm07 phm07 commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Volumes can now be attached to generic assignees using the --assignee-type and --assignee flags. The old --server flag is deprecated and will be removed in the future.

See https://docs.hetzner.cloud/changelog#2026-10-27-volumes-allow-generic-resource-targets

@phm07
phm07 requested a review from a team as a code owner October 29, 2026 10:18
@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.43860% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.73%. Comparing base (df50db3) to head (16ab38c).

Files with missing lines Patch % Lines
internal/cmd/volume/assignee.go 67.85% 9 Missing ⚠️
internal/cmd/volume/list.go 62.50% 3 Missing ⚠️
internal/cmd/primaryip/list.go 0.00% 1 Missing ⚠️
internal/cmd/volume/create.go 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1527      +/-   ##
==========================================
- Coverage   79.76%   79.73%   -0.03%     
==========================================
  Files         303      305       +2     
  Lines        9590     9619      +29     
==========================================
+ Hits         7649     7670      +21     
- Misses       1941     1949       +8     
Flag Coverage Δ
e2e 54.59% <28.07%> (-0.08%) ⬇️
unit 75.47% <75.43%> (-0.01%) ⬇️

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