restic / rest-server

Rest Server is a high performance HTTP server that implements restic's REST backend API.
BSD 2-Clause "Simplified" License
943 stars 140 forks source link

Config: Read in PrometheusNoAuth correctly #164

Closed networkException closed 3 years ago

networkException commented 3 years ago

What is the purpose of this change? What does it change?

This change addresses an issue in which the value of the --prometheus-no-auth flag actually got applied to the value of --prometheus when reading in flags.

Was the change discussed in an issue or in the forum before?

Issue was introduced in #112 alongside the inital implementation for --prometheus-no-auth

Checklist

wojas commented 3 years ago

Good catch, thanks!