Skip to content

Commit 40781f1

Browse files
craig[bot]ajkr
craig[bot]
andcommitted
Merge #37743
37743: roachtest: fix roachprod command to get existing cluster r=tbg a=ajkr If we don't provide `--quiet` then `roachprod list` starts out by printing "Syncing..." which fails JSON parsing. Release note: None Co-authored-by: Andrew Kryczka <[email protected]>
2 parents 18be408 + a5d4fa9 commit 40781f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ func (c *cluster) setTest(t testI) {
867867
func (c *cluster) validate(ctx context.Context, nodes clusterSpec, l *logger) error {
868868
// Perform validation on the existing cluster.
869869
c.status("checking that existing cluster matches spec")
870-
sargs := []string{roachprod, "list", c.name, "--json"}
870+
sargs := []string{roachprod, "list", c.name, "--json", "--quiet"}
871871
out, err := execCmdWithBuffer(ctx, l, sargs...)
872872
if err != nil {
873873
return err

0 commit comments

Comments
 (0)