kubenetworks/kubevpn

View on GitHub
pkg/dev/docker_tty.go

Summary

Maintainability
A
1 hr
Test Coverage

Function initTtySize has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func initTtySize(ctx context.Context, cli command.Cli, id string, isExec bool, resizeTtyFunc func(ctx context.Context, cli command.Cli, id string, isExec bool) error) {
Severity: Minor
Found in pkg/dev/docker_tty.go - About 35 mins to fix

    Function resizeTtyTo has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func resizeTtyTo(ctx context.Context, apiClient client.ContainerAPIClient, id string, height, width uint, isExec bool) error {
    Severity: Minor
    Found in pkg/dev/docker_tty.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status