diff --git a/config/configStruct.go b/config/configStruct.go index 6fcce05..6badb82 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -27,7 +27,7 @@ type KafkaConfig struct { type EsConfig struct { Address []string `json:"address"` Index string `json:"index"` - AlarmIndex string `json:"alarmIndex"` + AlarmIndex string `json:"alarmIndex" yaml:"alarmIndex"` Auth struct { UserName string `json:"userName"` Password string `json:"password"`