Skip to content

chore: Removes unused code - #499

Open
claudiubelu wants to merge 1 commit into
cloudbase:masterfrom
claudiubelu:cleanup
Open

chore: Removes unused code#499
claudiubelu wants to merge 1 commit into
cloudbase:masterfrom
claudiubelu:cleanup

Conversation

@claudiubelu

Copy link
Copy Markdown
Member
  • coriolis/minion_manager/rpc/client.py: set_up_shared_minion_pool_resources and tear_down_shared_minion_pool_resources were never tied to anything on the server side. Commit 2599ca8 introduced them as part of a refactor, with the server side commented out, which was later on removed in d20c670. The client side survived, unused.
  • /coriolis/minion_manager/rpc/utils.py: minion_machine_synchronized is not referenced. Most minion-related operations use the minion_pool_synchronized_op decorator instead, or minion_manager_utils.get_minion_pool_lock() (e.g.: deallocate_minion_machine).
  • coriolis/providers/backup_writers.py: _fetch_remote_file private method, unused.
  • coriolis/scheduler/scheduler_utils.py: not referenced anywhere.
  • coriolis/schemas_exceptions.py: not referenced anywhere.
  • coriolis/taskflow/base.py: private methods, unused.
  • coriolis/worker/rpc/server.py: _check_remove_dir private method, unused.

- `coriolis/minion_manager/rpc/client.py`:
  `set_up_shared_minion_pool_resources` and `tear_down_shared_minion_pool_resources`
  were never tied to anything on the server side. Commit 2599ca8 introduced
  them as part of a refactor, with the server side commented out, which
  was later on removed in d20c670. The client side survived, unused.
- `/coriolis/minion_manager/rpc/utils.py`: `minion_machine_synchronized`
  is not referenced. Most minion-related operations use the minion_pool_synchronized_op
  decorator instead, or minion_manager_utils.get_minion_pool_lock() (e.g.: deallocate_minion_machine).
- `coriolis/providers/backup_writers.py`: `_fetch_remote_file` private
  method, unused.
- `coriolis/scheduler/scheduler_utils.py`: not referenced anywhere.
- `coriolis/schemas_exceptions.py`: not referenced anywhere.
- `coriolis/taskflow/base.py`: private methods, unused.
- `coriolis/worker/rpc/server.py`: `_check_remove_dir` private method,
  unused.
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