docker/swarmkit

View on GitHub
swarmd/cmd/swarm-rafttool/common.go

Summary

Maintainability
A
45 mins
Test Coverage

Function decryptRaftData has 7 return statements (exceeds 4 allowed).
Open

func decryptRaftData(swarmdir, outdir, unlockKey string) error {
    krw, err := getKRW(swarmdir, unlockKey)
    if err != nil {
        return err
    }
Severity: Major
Found in swarmd/cmd/swarm-rafttool/common.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status