Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Yu <jack.yu@suse.com>
  • Loading branch information
Yu-Jack committed Jan 25, 2024
1 parent 1a73f87 commit 5380bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (m *SupportBundleManager) phaseCollectPrometheusBundle() error {
return errors.Wrap(err, "failed to get prometheus alert")
}

b, err := json.Marshal(alerts)
b, err := json.MarshalIndent(alerts, "", "\t")
if err != nil {
return errors.Wrap(err, "failed to marshal prometheus alert")
}
Expand Down

0 comments on commit 5380bd3

Please sign in to comment.