-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Add type parameter to /system/df
#42559
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
Conversation
9b34c84 to
5b70850
Compare
623bed8 to
e620e9b
Compare
|
Blocking #42560 |
e620e9b to
e120070
Compare
fredericdalleau
left a comment
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.
LGTM
459fd71 to
a471611
Compare
7fa17f1 to
310910e
Compare
87423ba to
61e98a4
Compare
|
Arf.. I should've looked at Jenkins looks like the test is failing 😞 |
1842a03 to
8d33de2
Compare
|
Sorry, should have checked CI! |
917946d to
88ab006
Compare
|
It seems that there's no way to use the testing approach I chose, since the store is modified in parallel to the test execution unless we use |
|
You can setup a separate daemon for the test: d := daemon.New(t, "--iptables=false")
defer d.Cleanup(t)
d.Start(t) // or d.StartWithBusybox if needed.
defer d.Stop(t) |
88ab006 to
4c59ff1
Compare
Perfect, I followed this approach! |
|
Looks like 2 test instances still failed 🤔 . This time it seems to be limited to Windows: That is on |
2d0aa35 to
61b3e7e
Compare
|
Removed |
61b3e7e to
e3c65d3
Compare
|
Looks like It looks like tests that do |
Let clients choose object types to compute disk usage of. Signed-off-by: Roman Volosatovs <roman.volosatovs@docker.com> Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
e3c65d3 to
47ad2f3
Compare
|
@cpuguy83 @thaJeztah PTAL |
thaJeztah
left a comment
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.
LGTM
- What I did
Add
typeparameter to/system/df- How I did it
Internally allow more fine-grained control over choice of objects to compute disk usage from, add
typesURL parameter.- How to verify it
- Description for the changelog
/system/dfendpoint now supportstypeURL parameter, which gives control over object types to compute disk usage of