Skip to content

Commit 5cba8f5

Browse files
committed
fix: initialize GlobalLabels to empty slice to prevent seid parse failure
seid fails with "failed to parse global-labels config" when the field is nil, which the TOML encoder serializes in a way the binary cannot parse. Initializing to [][]string{} produces valid empty TOML output.
1 parent 3dada50 commit 5cba8f5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

defaults.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ func baseDefaults() *SeiConfig {
200200
MaxOpenConnections: 3,
201201
Namespace: "tendermint",
202202
PrometheusRetentionTime: 7200,
203+
GlobalLabels: [][]string{},
203204
},
204205

205206
Logging: LogConfig{

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v0.0.2"
2+
"version": "v0.0.3"
33
}

0 commit comments

Comments
 (0)