Skip to content

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

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

ceph-volume: remove useless main.Volume() args#24775
sileht wants to merge 1 commit intoceph:masterfrom
sileht:useless-main-args

Conversation

@sileht
Copy link
Contributor

@sileht sileht commented Oct 26, 2018

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 sileht@sileht.net

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 <sileht@sileht.net>
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