-
Notifications
You must be signed in to change notification settings - Fork 949
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
feature: set volumes to /etc/mtab #1170
Conversation
Golint fails:
And please also check the integration test. @rudyfly |
6e05eba
to
f6a840b
Compare
daemon/mgr/spec_volume.go
Outdated
|
||
"github.com/alibaba/pouch/storage/quota" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a blank line below this line. Thanks a lot.
This will be conflict with pr #1154. Please pay attention. |
Codecov Report
@@ Coverage Diff @@
## master #1170 +/- ##
==========================================
- Coverage 15.21% 15.15% -0.06%
==========================================
Files 172 172
Lines 10735 10772 +37
==========================================
Hits 1633 1633
- Misses 8981 9018 +37
Partials 121 121
|
continue | ||
} | ||
|
||
tempLine := fmt.Sprintf("/dev/v%02dd %s ext4 rw 0 0\n", i, m.Destination) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
variable i should increase?
@@ -10,6 +12,7 @@ import ( | |||
|
|||
"github.com/alibaba/pouch/storage/quota" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a blank line below this line, thanks a lot
set volumes to /etc/mtab in container, it makes the "df" command to show the volume's information. Signed-off-by: Rudy Zhang <[email protected]>
LGTM |
Ⅰ. Describe what this PR did
set volumes to /etc/mtab in container, it makes the "df" command to show
the volume's information.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
Signed-off-by: Rudy Zhang [email protected]