Skip to content

Commit

Permalink
order path
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
  • Loading branch information
kradalby committed Sep 19, 2023
1 parent ca4a48a commit 14f8c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hscontrol/mapper/mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 14f8c1b

Please sign in to comment.