Skip to content

Commit

Permalink
Merge pull request #120192 from herkolategan/backport23.2-120118
Browse files Browse the repository at this point in the history
release-23.2: roachprod: use logger for `printDetails`
  • Loading branch information
herkolategan authored Mar 12, 2024
2 parents 32e6d10 + c6611da commit 44b8126
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/roachprod/cloud/cluster_cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"bytes"
"context"
"fmt"
"os"
"regexp"
"sort"
"text/tabwriter"
Expand Down Expand Up @@ -179,7 +178,7 @@ func (c *Cluster) PrintDetails(logger *logger.Logger) error {
logger.Printf("(no expiration)")
}
// Align columns left and separate with at least two spaces.
tw := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0)
tw := tabwriter.NewWriter(logger.Stdout, 0, 8, 2, ' ', 0)
logPrettifiedHeader(tw, printDetailsColumnHeaders)

for _, vm := range c.VMs {
Expand Down

0 comments on commit 44b8126

Please sign in to comment.