Add checkpoint timestamp based on mtime

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2015-12-04 15:12:57 -08:00
parent 7baee380ea
commit 3fdc48eb01
7 changed files with 18 additions and 14 deletions

View file

@ -314,6 +314,7 @@ func (s *server) listCheckpoints(w http.ResponseWriter, r *http.Request) {
Tcp: c.Tcp,
Shell: c.Shell,
UnixSockets: c.UnixSockets,
Timestamp: c.Timestamp,
})
}
if err := json.NewEncoder(w).Encode(out); err != nil {