Skip to content

Fixes _BaseMinionPoolProvider base provider class#425

Open
claudiubelu wants to merge 1 commit intocloudbase:masterfrom
claudiubelu:amend-providers
Open

Fixes _BaseMinionPoolProvider base provider class#425
claudiubelu wants to merge 1 commit intocloudbase:masterfrom
claudiubelu:amend-providers

Conversation

@claudiubelu
Copy link
Copy Markdown
Member

coriolis.tasks.minion_pool_tasks._BaseVolumesMinionMachineAttachmentTask._run, which calls the attach_volumes_to_minion and detach_volumes_from_minion passes in 5 arguments, not 4. The base class signatures should be amended, to better reflect their actual usage.

In the same _run call, the called method's output is verified, and it verifies that the fields "volumes_info" and "minion_properties" are present in the result. The detach_volumes_from_minion does not mention that it should return this information. The docstring is now updated.

`coriolis.tasks.minion_pool_tasks._BaseVolumesMinionMachineAttachmentTask._run`,
which calls the `attach_volumes_to_minion` and `detach_volumes_from_minion`
passes in 5 arguments, not 4. The base class signatures should be
amended, to better reflect their actual usage.

In the same `_run` call, the called method's output is verified, and it
verifies that the fields "volumes_info" and "minion_properties" are
present in the result. The `detach_volumes_from_minion` does not mention
that it should return this information. The docstring is now updated.
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