Skip to content

Commit

Permalink
marshal indent instead of marshal
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard-Voiculescu committed Sep 17, 2024
1 parent e33c79b commit 9263d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/firevara/tools_fetch_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func toolsFetchMetadataRunE(logger *zap.Logger, _ logging.Tracer) firecore.Comma
return fmt.Errorf("failed to get metadata: %w", err)
}

b, err := json.Marshal(metadata)
b, err := json.MarshalIndent(metadata, "", " ")
if err != nil {
return fmt.Errorf("failed to marshal metadata: %w", err)
}
Expand Down

0 comments on commit 9263d1e

Please sign in to comment.