diff --git a/cmd/versitygw/utils.go b/cmd/versitygw/utils.go index 25e0e3d5..1d07333d 100644 --- a/cmd/versitygw/utils.go +++ b/cmd/versitygw/utils.go @@ -71,7 +71,7 @@ func generateEventFiltersConfig(ctx *cli.Context) error { s3event.EventObjectRestoreCompleted: true, } - configBytes, err := json.Marshal(config) + configBytes, err := json.MarshalIndent(config, "", " ") if err != nil { return fmt.Errorf("parse event config: %w", err) }