mirror of https://github.com/prometheus/prometheus
This changes usage of path to be replaced with path/filepath, allowing for filepath.Base to properly return the base directory on systems where `/` is not the standard path separator. This resolves an issue on Windows where intermediate folders containing a `.` were incorrectly considered to be a part of the checkpoint name. Related to grafana/agent#3826. Signed-off-by: Robert Fratto <robertfratto@gmail.com>pull/12349/head
parent
bd98fc8c45
commit
9e4e2a4a51
Loading…
Reference in new issue