Skip to content

Commit

Permalink
Last local use of provision.
Browse files Browse the repository at this point in the history
  • Loading branch information
lostluck committed Mar 30, 2023
1 parent dd7a249 commit 74ce064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/go/pkg/beam/runners/universal/runnerlib/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ import (
"fmt"
"io"

"github.com/apache/beam/sdks/v2/go/container/tools"
"github.com/apache/beam/sdks/v2/go/pkg/beam"
"github.com/apache/beam/sdks/v2/go/pkg/beam/core/runtime"
"github.com/apache/beam/sdks/v2/go/pkg/beam/core/util/hooks"
"github.com/apache/beam/sdks/v2/go/pkg/beam/internal/errors"
"github.com/apache/beam/sdks/v2/go/pkg/beam/log"
jobpb "github.com/apache/beam/sdks/v2/go/pkg/beam/model/jobmanagement_v1"
pipepb "github.com/apache/beam/sdks/v2/go/pkg/beam/model/pipeline_v1"
"github.com/apache/beam/sdks/v2/go/pkg/beam/provision"
"github.com/golang/protobuf/proto"
)

Expand Down Expand Up @@ -63,7 +63,7 @@ func Prepare(ctx context.Context, client jobpb.JobServiceClient, p *pipepb.Pipel
Parallelism: opt.Parallelism,
}

options, err := provision.OptionsToProto(raw)
options, err := tools.OptionsToProto(raw)
if err != nil {
return "", "", "", errors.WithContext(err, "producing pipeline options")
}
Expand Down

0 comments on commit 74ce064

Please sign in to comment.