mirror of https://github.com/grafana/loki
pkg/promtail/positions: handle empty positions file (#1660)
If the positions file is empty, unmarshaling it will lead to a nil map being created. This commit ensures that positions is always initialized to be non-nil. Potentially handles #1659.pull/1664/head
parent
675a5f35fe
commit
267dbe0085
Loading…
Reference in new issue