Skip to content

Commit

Permalink
print string not array of bytes (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
BarkovBG committed Jun 18, 2024
1 parent e90acaf commit 0beeb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/disk_manager/pkg/admin/pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ func (t *poolsConsistencyCheck) run() error {
return err
}

s, err := json.Marshal(transitions)
j, err := json.Marshal(transitions)
if err != nil {
return err
}

fmt.Print(s)
fmt.Println(string(j))

return nil
}
Expand Down

0 comments on commit 0beeb95

Please sign in to comment.