aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/shell
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/shell')
-rw-r--r--pkg/shell/interpreter.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/shell/interpreter.go b/pkg/shell/interpreter.go
index 02d5aaf..287c28f 100644
--- a/pkg/shell/interpreter.go
+++ b/pkg/shell/interpreter.go
@@ -1,6 +1,7 @@
package shell
import (
+ "context"
"errors"
"fmt"
"io"
@@ -514,7 +515,7 @@ out:
return true, errors.New("Type corruption during compilation, expected query.CompilationArtifact")
}
- results, err := inter.querier.Execute(artifact)
+ results, err := inter.querier.Execute(context.Background(), artifact)
if err != nil {
return false, fmt.Errorf("Error occured while excuting query: %s", err)
}