dotcloud/docker

View on GitHub
daemon/top_windows.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Daemon.ContainerTop has 7 return statements (exceeds 4 allowed).
Open

func (daemon *Daemon) ContainerTop(name string, psArgs string) (*containertypes.ContainerTopOKBody, error) {
    // It's not at all an equivalent to linux 'ps' on Windows
    if psArgs != "" {
        return nil, errors.New("Windows does not support arguments to top")
    }
Severity: Major
Found in daemon/top_windows.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status