dotcloud/docker

View on GitHub
pkg/homedir/homedir_linux.go

Summary

Maintainability
A
35 mins
Test Coverage

Function StickRuntimeDirContents has 5 return statements (exceeds 4 allowed).
Open

func StickRuntimeDirContents(files []string) ([]string, error) {
    runtimeDir, err := GetRuntimeDir()
    if err != nil {
        // ignore error if runtimeDir is empty
        return nil, nil
Severity: Major
Found in pkg/homedir/homedir_linux.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status