Add type parameter to /system/df#42559
Conversation
9b34c84 to
5b70850
Compare
623bed8 to
e620e9b
Compare
|
Blocking #42560 |
e620e9b to
e120070
Compare
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 <[email protected]> Co-authored-by: Sebastiaan van Stijn <[email protected]>
e3c65d3 to
47ad2f3
Compare
|
@cpuguy83 @thaJeztah PTAL |
- 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