Skip to content

Commit

Permalink
Continue to provide all info for GetWorkflows callers
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Feb 14, 2025
1 parent a620160 commit a9d3ac9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions go/vt/vtctl/workflow/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"context"
"errors"
"fmt"
"math"
"slices"
"sort"
"strings"
Expand Down Expand Up @@ -362,10 +363,11 @@ func (s *Server) GetCellsWithTableReadsSwitched(

func (s *Server) GetWorkflow(ctx context.Context, keyspace, workflow string, includeLogs bool, shards []string) (*vtctldatapb.Workflow, error) {
res, err := s.GetWorkflows(ctx, &vtctldatapb.GetWorkflowsRequest{
Keyspace: keyspace,
Workflow: workflow,
IncludeLogs: includeLogs,
Shards: shards,
Keyspace: keyspace,
Workflow: workflow,
IncludeLogs: includeLogs,
Shards: shards,
VerbosityLevel: math.MaxUint32, // Get all info for generic callers
})
if err != nil {
return nil, err
Expand Down

0 comments on commit a9d3ac9

Please sign in to comment.