From 14f8c1ba34fcc5ff16afece3d01b6fae72c64a91 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 11 Sep 2023 05:25:52 -0500 Subject: [PATCH] order path Signed-off-by: Kristoffer Dalby --- hscontrol/mapper/mapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hscontrol/mapper/mapper.go b/hscontrol/mapper/mapper.go index 67e078d4..0d34ebe1 100644 --- a/hscontrol/mapper/mapper.go +++ b/hscontrol/mapper/mapper.go @@ -409,7 +409,7 @@ func (m *Mapper) marshalMapResponse( mapResponsePath := path.Join( mPath, - fmt.Sprintf("%d-%s-%d.json", atomic.LoadUint64(&m.seq), m.uid, now), + fmt.Sprintf("%d-%s-%d.json", now, m.uid, atomic.LoadUint64(&m.seq)), ) log.Trace().Msgf("Writing MapResponse to %s", mapResponsePath)