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(primary-ip): labels ignored in create command #885

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented Oct 24, 2024

This PR adds the missing functionality to add labels when creating a Primary IP and also adds it to the unit tests.

Fixes #883

@phm07 phm07 added the bug label Oct 24, 2024
@phm07 phm07 self-assigned this Oct 24, 2024
@phm07 phm07 requested a review from a team as a code owner October 24, 2024 08:27
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.23%. Comparing base (79852bd) to head (0321068).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #885   +/-   ##
=======================================
  Coverage   69.23%   69.23%           
=======================================
  Files         244      244           
  Lines       10638    10640    +2     
=======================================
+ Hits         7365     7367    +2     
  Misses       2605     2605           
  Partials      668      668           
Flag Coverage Δ
e2e 42.80% <0.00%> (-0.01%) ⬇️
unit 63.48% <100.00%> (+<0.01%) ⬆️

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.

@phm07 phm07 merged commit 7a17174 into main Oct 24, 2024
6 checks passed
@phm07 phm07 deleted the primary-ip-labels branch October 24, 2024 09:44
phm07 pushed a commit that referenced this pull request Oct 25, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.48.0](v1.47.0...v1.48.0)
(2024-10-25)


### Features

* allow auto-completing context flag
([#861](#861))
([7495b14](7495b14))
* **primary-ip:** allow setting auto-delete on create
([#860](#860))
([b6aecb3](b6aecb3)),
closes [#855](#855)


### Bug Fixes

* **image:** only use numerical IDs for label auto-completion
([#865](#865))
([1d10d92](1d10d92))
* **primary-ip:** labels ignored in create command
([#885](#885))
([7a17174](7a17174)),
closes [#883](#883)

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

hcloud primary-ip create --label create=hcloud - not add label during resource creation
2 participants