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

meta: create subdir automatically #1712

Merged
merged 1 commit into from
Apr 2, 2022
Merged

meta: create subdir automatically #1712

merged 1 commit into from
Apr 2, 2022

Conversation

SandyXSD
Copy link
Contributor

@SandyXSD SandyXSD commented Apr 2, 2022

fix #1709

The auto-created subdir has mode 777, and uid/gid = 0.

@codecov-commenter
Copy link

Codecov Report

Merging #1712 (9037126) into main (fe910ad) will increase coverage by 0.24%.
The diff coverage is 82.85%.

@@            Coverage Diff             @@
##             main    #1712      +/-   ##
==========================================
+ Coverage   61.60%   61.85%   +0.24%     
==========================================
  Files         134      135       +1     
  Lines       22672    22876     +204     
==========================================
+ Hits        13968    14149     +181     
- Misses       7129     7136       +7     
- Partials     1575     1591      +16     
Impacted Files Coverage Δ
pkg/meta/config.go 53.24% <0.00%> (-1.42%) ⬇️
pkg/meta/utils.go 71.18% <60.00%> (-0.49%) ⬇️
pkg/meta/dump.go 75.86% <82.97%> (+2.01%) ⬆️
pkg/meta/redis.go 73.16% <100.00%> (+0.18%) ⬆️
pkg/meta/sql.go 67.13% <100.00%> (+0.12%) ⬆️
pkg/meta/tkv.go 76.55% <100.00%> (+0.04%) ⬆️
pkg/meta/tkv_etcd.go 77.77% <0.00%> (ø)
... and 3 more

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 6111f4d...9037126. Read the comment docs.

@davies davies merged commit 8d0ee9f into main Apr 2, 2022
@davies davies deleted the meta-subdir branch April 2, 2022 08:48
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.

Automatically create directory when subdir's location does not exist
3 participants