Merge pull request #7309 from kobergj/ChaseThePipelineGhost

[full-ci] Chase the pipline ghost
This commit is contained in:
kobergj
2023-09-22 11:03:05 +02:00
committed by GitHub
34 changed files with 49 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ package command
import (
"context"
"fmt"
"os"
"github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -75,6 +76,7 @@ func Server(cfg *config.Config) *cli.Command {
servers.Add(httpServer.Run, func(_ error) {
logger.Info().Str("server", "http").Msg("Shutting down server")
cancel()
os.Exit(1)
})
// prepare a gRPC server and add it to the group run.
@@ -90,6 +92,7 @@ func Server(cfg *config.Config) *cli.Command {
servers.Add(grpcServer.Run, func(_ error) {
logger.Info().Str("server", "grpc").Msg("Shutting down server")
cancel()
os.Exit(1)
})
// prepare a debug server and add it to the group run.