mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-14 17:45:36 +00:00
fix: standardize on fully qualified snapshot_id and decouple protobufs from restic package
This commit is contained in:
@@ -53,7 +53,6 @@ func loggingFunc(l *zap.Logger) logging.Logger {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
func serveGRPC(ctx context.Context, socket string, server *Server) error {
|
||||
lis, err := net.Listen("unix", socket)
|
||||
if err != nil {
|
||||
@@ -110,4 +109,4 @@ func ServeAPI(ctx context.Context, server *Server, mux *http.ServeMux) error {
|
||||
apiMux := runtime.NewServeMux()
|
||||
mux.Handle("/api/", http.StripPrefix("/api", apiMux))
|
||||
return serveHTTPHandlers(ctx, server, apiMux)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user