kubenetworks/kubevpn

View on GitHub
pkg/ssh/scp.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func SCP(client *ssh.Client, stdout, stderr io.Writer, filename, to string) error {
    file, err := os.Open(filename)
    if err != nil {
        return err
    }
Severity: Major
Found in pkg/ssh/scp.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status