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

bugfix: infinite loop in dfget/config/config.go#checkOutput #1321

Merged
merged 1 commit into from
May 3, 2020

Conversation

lowzj
Copy link
Member

@lowzj lowzj commented May 1, 2020

Signed-off-by: lowzj zj3142063@gmail.com

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

fixes: #1320

Ⅲ. 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/XS labels May 1, 2020
{clog: clog, url: "http://a.b.com", output: "/root", checkFunc: errortypes.IsInvalidValue},
{clog: clog, url: "http://a.b.com", output: "/", checkFunc: errortypes.IsInvalidValue},
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also update test cases for TestCheckOutput.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Signed-off-by: lowzj <zj3142063@gmail.com>
@starnop
Copy link
Contributor

starnop commented May 3, 2020

LGTM.

@starnop starnop merged commit 44506bf into dragonflyoss:master May 3, 2020
@lowzj lowzj deleted the fix-checkOutput branch May 6, 2020 02:57
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/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(unit-test): dfget/config/config_test.go#TestAssertConfig cannot be finished
3 participants