From 876837ff9440e959cff78935b6febf1992a2cf2e Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Tue, 24 Jan 2023 22:04:40 +0100 Subject: [PATCH] Revert custom method to debug build Signed-off-by: Lorenzo Mangani --- fluxpipe-server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluxpipe-server.go b/fluxpipe-server.go index 7e3cf2d..a013997 100644 --- a/fluxpipe-server.go +++ b/fluxpipe-server.go @@ -118,8 +118,8 @@ func NewCustomDependencies() flux.Deps { func exec(inputString string) (string, string) { - // ctx := flux.NewDefaultDependencies().Inject(context.Background()) - ctx := NewCustomDependencies().Inject(context.Background()) + ctx := flux.NewDefaultDependencies().Inject(context.Background()) + // ctx := NewCustomDependencies().Inject(context.Background()) q, err := runQuery(ctx, inputString) if err != nil { fmt.Println("unexpected error while creating query: %s", err)