diff --git a/pkg/es/cluser_health_report.go b/pkg/es/cluser_health_report.go index dd4afe4..8a64938 100644 --- a/pkg/es/cluser_health_report.go +++ b/pkg/es/cluser_health_report.go @@ -20,6 +20,7 @@ import ( // "encoding/json/jsontext" // "encoding/json/v2" + "encoding/json" "fmt" @@ -54,7 +55,9 @@ func getHealthReport(conf *cfg.Config) (*HealthReport, error) { report := new(HealthReport{}) - // FIXME: use this once jsonv2 is no more experimental + // FIXME: use this once jsonv2 is no more experimental it already + // builds and works like intended, but golangci-lint doesn't + // recognize it with: go: unknown GOEXPERIMENT jsonv2 // // if err := json.UnmarshalDecode( // jsontext.NewDecoder(