Skip to content

Commit 3574c3a

Browse files
author
Owen Nelson
authored
fix: update package for Spec in headless repl (#5138)
`Spec` was moved during <#5116>. This diff updates the import path in the headeless repl to match.
1 parent 0dc2188 commit 3574c3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/cmd/headless_repl/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"github.com/influxdata/flux/execute"
2121
"github.com/influxdata/flux/execute/executetest"
2222
"github.com/influxdata/flux/fluxinit"
23+
"github.com/influxdata/flux/internal/operation"
2324
"github.com/influxdata/flux/internal/spec"
2425
"github.com/influxdata/flux/interpreter"
2526
"github.com/influxdata/flux/lang"
@@ -249,7 +250,7 @@ func (r *ScopeHolder) analyzeLine(t string) (*semantic.Package, *libflux.FluxErr
249250
return x, nil, err
250251
}
251252

252-
func (r *ScopeHolder) doQuery(ctx context.Context, spec *flux.Spec) error {
253+
func (r *ScopeHolder) doQuery(ctx context.Context, spec *operation.Spec) error {
253254
// Setup cancel context
254255
ctx, cancelFunc := context.WithCancel(ctx)
255256
r.setCancel(cancelFunc)

0 commit comments

Comments
 (0)