Skip to content

ceph-volume: remove useless main.Volume() args - #24775

Closed
sileht wants to merge 1 commit into
ceph:masterfrom
sileht:useless-main-args
Closed

sileht wants to merge 1 commit into
ceph:masterfrom
sileht:useless-main-args

Conversation

@sileht

@sileht sileht commented Oct 26, 2018

Copy link
Copy Markdown
Contributor

main.Volume__init__() parse argument is never used.
main.Volume__init__() args argument is used in test only.

So there is no need to have them in main.Volume.init()

This change removes parse and args arguments. Tests are
updated to mock sys.argv correctly.

Signed-off-by: Mehdi Abaakouk [email protected]

main.Volume__init__() parse argument is never used.
main.Volume__init__() args argument is used in test only.

So there is no need to have them in main.Volume.__init__()

This change removes parse and args arguments. Tests are
updated to mock sys.argv correctly.

Signed-off-by: Mehdi Abaakouk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants