Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

bugfix: paas registry mirror tls config into dfget config. #929

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

zcc35357949
Copy link
Contributor

Signed-off-by: zhouchencheng [email protected]

Ⅰ. Describe what this PR did

The tls config in registry_mirror should save to dfget config.Otherwise, it doesn't work.

Ⅱ. Does this pull request fix one issue?

#928

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@pouchrobot pouchrobot added kind/bug This is bug report for project size/S labels Sep 18, 2019
@codecov-io
Copy link

codecov-io commented Sep 18, 2019

Codecov Report

Merging #929 into master will increase coverage by 0.28%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #929      +/-   ##
==========================================
+ Coverage   46.45%   46.74%   +0.28%     
==========================================
  Files         114      114              
  Lines        6737     6745       +8     
==========================================
+ Hits         3130     3153      +23     
+ Misses       3351     3336      -15     
  Partials      256      256
Impacted Files Coverage Δ
dfdaemon/config/config.go 100% <100%> (+12.39%) ⬆️

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 a37632b...d037f31. Read the comment docs.

@starnop
Copy link
Contributor

starnop commented Sep 18, 2019

Could you please add an integration test for this case? THX.

@zcc35357949
Copy link
Contributor Author

Could you please add an integration test for this case? THX.

Ok, I have added a test to validate dfgetConfig.

Copy link
Member

@inoc603 inoc603 left a comment

Choose a reason for hiding this comment

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

LGTM

@starnop
Copy link
Contributor

starnop commented Sep 23, 2019

LGTM.

@starnop
Copy link
Contributor

starnop commented Sep 23, 2019

Could you please rebase your code and push it again? THX.

@zcc35357949
Copy link
Contributor Author

Could you please rebase your code and push it again? THX.

I have rebased the code.

@starnop starnop merged commit 6d3a6d5 into dragonflyoss:master Sep 24, 2019
starnop added a commit to starnop/Dragonfly that referenced this pull request Nov 27, 2019
bugfix: paas registry mirror tls config into dfget config.
inoc603 pushed a commit to inoc603/Dragonfly that referenced this pull request Dec 23, 2019
bugfix: paas registry mirror tls config into dfget config.
sungjunyoung pushed a commit to sungjunyoung/Dragonfly that referenced this pull request May 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug This is bug report for project size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants