677d41aa3b
I was trying to find out why `docker info` was sometimes slow so plumbing a context through to propagate trace data through. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
9 lines
242 B
Go
9 lines
242 B
Go
package fileutils // import "github.com/docker/docker/pkg/fileutils"
|
|
|
|
import "context"
|
|
|
|
// GetTotalUsedFds Returns the number of used File Descriptors. Not supported
|
|
// on Windows.
|
|
func GetTotalUsedFds(ctx context.Context) int {
|
|
return -1
|
|
}
|