-
Notifications
You must be signed in to change notification settings - Fork 2k
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
vendor: github.com/docker/docker 1a1f3cff45ec (master, v27.0-dev) #5170
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5170 +/- ##
=======================================
Coverage 61.76% 61.76%
=======================================
Files 297 297
Lines 20768 20768
=======================================
Hits 12828 12828
Misses 7024 7024
Partials 916 916 |
@laurazard @vvoland PTAL 🤗 |
@@ -50,7 +50,7 @@ func (s *stats) isKnownContainer(cid string) (int, bool) { | |||
return -1, false | |||
} | |||
|
|||
func collect(ctx context.Context, s *Stats, cli client.APIClient, streamStats bool, waitFirst *sync.WaitGroup) { | |||
func collect(ctx context.Context, s *Stats, cli client.ContainerAPIClient, streamStats bool, waitFirst *sync.WaitGroup) { |
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.
Changed this to a narrower interface, as it doesn't need all of api-client
"github.com/docker/docker/api/types" | ||
) | ||
|
||
func TestCalculateBlockIO(t *testing.T) { |
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.
Merged this test into the other test-file (stats_helpers_test.go
)
May be doing one more update to include moby/moby#48011 |
Rewrite local code to use the new container.Ulimit alias to start transitioning away from direct uses of go-units.Ulimit. full diff: moby/moby@v27.0.0-rc.2...1a1f3cf Signed-off-by: Sebastiaan van Stijn <[email protected]>
Updated, with moby/moby#48011 included |
vendor: github.com/docker/docker 1a1f3cff45ec (master, v27.0-dev)
Rewrite local code to use the new container.Ulimit alias to start
transitioning away from direct uses of go-units.Ulimit.
full diff: moby/moby@v27.0.0-rc.2...1a1f3cf
- A picture of a cute animal (not mandatory but encouraged)