Skip to content

Commit b0a8267

Browse files
committed
Add missing json annotation.
Signed-off-by: Steve Simpson <steve.simpson@grafana.com>
1 parent edcfac5 commit b0a8267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/validation/limits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ type Limits struct {
8787
StoreGatewayTenantShardSize int `yaml:"store_gateway_tenant_shard_size" json:"store_gateway_tenant_shard_size"`
8888

8989
// Compactor.
90-
CompactorRetentionPeriod time.Duration `yaml:"compactor_blocks_retention_period"`
90+
CompactorRetentionPeriod time.Duration `yaml:"compactor_blocks_retention_period" json:"compactor_blocks_retention_period"`
9191

9292
// This config doesn't have a CLI flag registered here because they're registered in
9393
// their own original config struct.

0 commit comments

Comments
 (0)