dotcloud/docker

View on GitHub
daemon/update_linux.go

Summary

Maintainability
A
1 hr
Test Coverage

Function toContainerdResources has 55 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func toContainerdResources(resources container.Resources) *libcontainerdtypes.Resources {
    var r libcontainerdtypes.Resources

    if resources.BlkioWeight != 0 {
        r.BlockIO = &specs.LinuxBlockIO{
Severity: Minor
Found in daemon/update_linux.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status