Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wlog: use filepath for getting checkpoint number
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>
- Loading branch information