Description: Support building with prometheus/common 0.62.0+
Author: Daniel Swarbrick <dswarbrick@debian.org>
Forwarded: not-needed

Attention package maintainer: there is no need to vendor
github.com/prometheus/prometheus, since it is available in Debian
as golang-github-prometheus-prometheus-dev.
--- a/vendor/github.com/prometheus/prometheus/util/logging/file.go
+++ b/vendor/github.com/prometheus/prometheus/util/logging/file.go
@@ -39,7 +39,7 @@ func NewJSONFileLogger(s string) (*JSONF
 		return nil, fmt.Errorf("can't create json log file: %w", err)
 	}
 
-	jsonFmt := &promslog.AllowedFormat{}
+	jsonFmt := promslog.NewFormat()
 	_ = jsonFmt.Set("json")
 	return &JSONFileLogger{
 		logger: promslog.New(&promslog.Config{Format: jsonFmt, Writer: f}),
