Commit caee0e64 authored by Eric's avatar Eric

add cmd replay

parent 89842d0d
package record
import (
"time"
)
type Command struct {
SessionID string
StartTime time.Time
}
......@@ -71,6 +71,7 @@ func (r *Reply) uploadReplay() {
if sto := storage.NewStorageServer(); sto != nil {
sto.Upload(r.absGzFilePath, r.target)
}
_ = os.Remove(r.absFilePath)
_ = os.Remove(r.absGzFilePath)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment