Skip to content

Commit

Permalink
use types.TimeNow() instead of time.Now() in serveStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jun 26, 2021
1 parent 91cbf06 commit ba60917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/http.go
Expand Up @@ -404,7 +404,7 @@ func serveStatus(wrt http.ResponseWriter, req *http.Request) {
result := &DebugDump{
Version: currentVersion,
Build: buildstamp,
Timestamp: time.Now(),
Timestamp: types.TimeNow(),
Sessions: make([]DebugSession, 0, len(globals.sessionStore.sessCache)),
Topics: make([]DebugTopic, 0, 10),
}
Expand Down

0 comments on commit ba60917

Please sign in to comment.