From 4dd5fe895e6b3e68743eb9f20ca6ead6e4a63427 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin <valyala@victoriametrics.com> Date: Mon, 24 Jun 2024 23:14:39 +0200 Subject: [PATCH] app/vmctl/prometheus/prometheus.go: add missing arg to tsdb.OpenDBReadOnly() function after updating github.com/prometheus/prometheus dependency from v0.52.1 to v0.53.0 in 5c55722db4ff9db12692d1deae4fbcb722ae5ae6 See https://github.com/prometheus/prometheus/commit/c5a1cc914856670e65d6537f9f76eefdc111312a --- app/vmctl/prometheus/prometheus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmctl/prometheus/prometheus.go b/app/vmctl/prometheus/prometheus.go index e3203a7397..a20d7347a7 100644 --- a/app/vmctl/prometheus/prometheus.go +++ b/app/vmctl/prometheus/prometheus.go @@ -54,7 +54,7 @@ func (f filter) inRange(min, max int64) bool { // NewClient creates and validates new Client // with given Config func NewClient(cfg Config) (*Client, error) { - db, err := tsdb.OpenDBReadOnly(cfg.Snapshot, nil) + db, err := tsdb.OpenDBReadOnly(cfg.Snapshot, "", nil) if err != nil { return nil, fmt.Errorf("failed to open snapshot %q: %s", cfg.Snapshot, err) }