Skip to content

Fix minor error#36

Merged
kezhenxu94 merged 1 commit intoapache:mainfrom
MoGuGuai-hzr:main
Jul 8, 2021
Merged

Fix minor error#36
kezhenxu94 merged 1 commit intoapache:mainfrom
MoGuGuai-hzr:main

Conversation

@MoGuGuai-hzr
Copy link
Contributor

Reading an file named "" will raise the IsNotExist error, so the conditional statement is unnecessary in pkg/config/config.go

The result should match whether the pattern is . or ./.

Small improvement.

@wu-sheng wu-sheng requested review from fgksgf and kezhenxu94 July 7, 2021 13:02
@wu-sheng wu-sheng added the bug Something isn't working label Jul 7, 2021
@wu-sheng
Copy link
Member

wu-sheng commented Jul 7, 2021

Reading an file named "" will raise the IsNotExist error, so the conditional statement is unnecessary in pkg/config/config.go

The result should match whether the pattern is . or ./.

Small improvement.

Thanks for the feedback, where are you going to use SkyWalking-eye tool?

@wu-sheng wu-sheng added this to the 0.2.0 milestone Jul 7, 2021
@MoGuGuai-hzr
Copy link
Contributor Author

Reading an file named "" will raise the IsNotExist error, so the conditional statement is unnecessary in pkg/config/config.go
The result should match whether the pattern is . or ./.
Small improvement.

Thanks for the feedback, where are you going to use SkyWalking-eye tool?

Yes, i will. And i am a student participating Summer 2021 of Open Source Promotion Plan.

Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

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

Thank you @MoGuGuai-hzr very much 🙇🏻 nice catches!

@kezhenxu94 kezhenxu94 merged commit 95d8dc0 into apache:main Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants