Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

feature: pass the value of dfdaemon verbose flag to dfget #670

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

starnop
Copy link
Contributor

@starnop starnop commented Jul 12, 2019

Signed-off-by: Starnop [email protected]

Ⅰ. Describe what this PR did

As title described.

Ⅱ. Does this pull request fix one issue?

None.

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

None.

Ⅳ. Describe how to verify it

Run dfdaemon with --verbose and you will get more logs.

Ⅴ. Special notes for reviews

@codecov-io
Copy link

Codecov Report

Merging #670 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #670      +/-   ##
==========================================
+ Coverage   46.58%   46.59%   +<.01%     
==========================================
  Files         106      106              
  Lines        6187     6188       +1     
==========================================
+ Hits         2882     2883       +1     
  Misses       3072     3072              
  Partials      233      233
Impacted Files Coverage Δ
dfdaemon/config/config.go 100% <100%> (ø) ⬆️

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 f7c9d03...e43e4a2. Read the comment docs.

Copy link
Member

@lowzj lowzj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


We should consider providing another more flexible way to configure the dfget rather than passing the flags of dfdaemon to dfget in the future.

  • Adding a string property as the dfget's parameters.
  • Different proxies may need to pass different parameters to dfget when calling it, such as urlfilter.

@starnop
Copy link
Contributor Author

starnop commented Jul 16, 2019

We should consider providing another more flexible way to configure the dfget rather than passing the flags of dfdaemon to dfget in the future.

  • Adding a string property as the dfget's parameters.
  • Different proxies may need to pass different parameters to dfget when calling it, such as urlfilter.

Yeah. We need a specific plan, and I'll submit a proposal for that.

@lowzj lowzj merged commit 3ab5e9d into dragonflyoss:master Jul 16, 2019
starnop pushed a commit to starnop/Dragonfly that referenced this pull request Nov 27, 2019
feature: pass the value of dfdaemon verbose flag to dfget
inoc603 pushed a commit to inoc603/Dragonfly that referenced this pull request Dec 23, 2019
feature: pass the value of dfdaemon verbose flag to dfget
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants