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

🌱 Refactoring: split update_opts.go and updateopts_test.go #1717

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

dtantsur
Copy link
Member

@dtantsur dtantsur commented May 2, 2024

update_opts.go contains helpers for Ironic PATCH API that are not tied
to the provisioner and thus are better haused in the clients module
(renamed to match the existing convention).

updateopts_test.go is a mix of tests for update_opts.go and a few
provision-specific functions. The former are migrated to clients as
well, the latter - to the more suitable provision_test.py.

Signed-off-by: Dmitry Tantsur dtantsur@protonmail.com

@dtantsur
Copy link
Member Author

dtantsur commented May 2, 2024

/ok-to-test

@metal3-io-bot metal3-io-bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 2, 2024
@dtantsur
Copy link
Member Author

dtantsur commented May 2, 2024

/retitle 🌱 Refactoring: split update_opts.go and updateopts_test.go

@metal3-io-bot metal3-io-bot changed the title Refactoring: split update_opts.go and updateopts_test.go 🌱 Refactoring: split update_opts.go and updateopts_test.go May 2, 2024
update_opts.go contains helpers for Ironic PATCH API that are not tied
to the provisioner and thus are better haused in the clients module
(renamed to match the existing convention).

updateopts_test.go is a mix of tests for update_opts.go and a few
provision-specific functions. The former are migrated to clients as
well, the latter - to the more suitable provision_test.py.

Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
@dtantsur dtantsur force-pushed the refactor/updateopts branch from 849911e to 6d8ab3b Compare May 14, 2024 18:26
@dtantsur
Copy link
Member Author

/test metal3-bmo-e2e-test-pull

2 similar comments
@dtantsur
Copy link
Member Author

/test metal3-bmo-e2e-test-pull

@dtantsur
Copy link
Member Author

/test metal3-bmo-e2e-test-pull

@elfosardo
Copy link
Member

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 11, 2024
@Rozzii
Copy link
Member

Rozzii commented Jun 28, 2024

/ok-to-test

@Rozzii Rozzii added this to the BMO - v0.7.0 milestone Jun 28, 2024
@tuminoid
Copy link
Member

tuminoid commented Jul 1, 2024

/cc @kashifest @honza @zaneb

@honza
Copy link
Member

honza commented Jul 1, 2024

Seems reasonable to me

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: honza

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 1, 2024
@metal3-io-bot metal3-io-bot merged commit 080f88e into metal3-io:main Jul 1, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
Status: Done / Closed
Development

Successfully merging this pull request may close these issues.

6 participants