api/chisel/service.go
Method Service.StartTunnelServer
has 5 return statements (exceeds 4 allowed). Open
Open
func (service *Service) StartTunnelServer(addr, port string, snapshotService portainer.SnapshotService) error {
privateKeyFile, err := service.retrievePrivateKeyFile()
if err != nil {
return err