portainer/portainer

View on GitHub
api/chisel/service.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Service.StartTunnelServer has 5 return statements (exceeds 4 allowed).
Open

func (service *Service) StartTunnelServer(addr, port string, snapshotService portainer.SnapshotService) error {
    privateKeyFile, err := service.retrievePrivateKeyFile()

    if err != nil {
        return err
Severity: Major
Found in api/chisel/service.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status