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

Remove the unused --amqp-url parameter from the CLI #49

Merged
merged 1 commit into from Aug 29, 2018

Conversation

jeremycline
Copy link
Member

At the moment the only way to specify the AMQP URL is via the
configuration file. Until someone asks for the ability to specify it on
the CLI, just stick with that.

fixes #45

Signed-off-by: Jeremy Cline jcline@redhat.com

@jeremycline jeremycline requested a review from a team as a code owner August 28, 2018 19:11
@codecov-io
Copy link

codecov-io commented Aug 28, 2018

Codecov Report

Merging #49 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
- Coverage   92.38%   92.35%   -0.03%     
==========================================
  Files          11       11              
  Lines         801      798       -3     
  Branches      110      110              
==========================================
- Hits          740      737       -3     
  Misses         40       40              
  Partials       21       21
Impacted Files Coverage Δ
fedora_messaging/cli.py 96.92% <ø> (-0.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2aa0a98...776b6b6. Read the comment docs.

@sebwoj
Copy link
Contributor

sebwoj commented Aug 28, 2018

For code clarity purposes, we can remove entry ->"amqp_url": "a"<- from unittest in each @mock.patch.dict

At the moment the only way to specify the AMQP URL is via the
configuration file. Until someone asks for the ability to specify it on
the CLI, just stick with that.

fixes fedora-infra#45

Signed-off-by: Jeremy Cline <jcline@redhat.com>
@jeremycline
Copy link
Member Author

Indeed. Thanks for looking at it!

@jeremycline jeremycline merged commit 776b6b6 into fedora-infra:master Aug 29, 2018
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.

"--amqp-url" parameter unused
3 participants