Commit ee85747d authored by Geoff Simmons's avatar Geoff Simmons

Set the timestamp when committing a dataplane tx succeeds immediately.

parent 0c075889
......@@ -436,6 +436,9 @@ func (client *DataplaneClient) FinishTx(
}
state.ID = resp.Header.Get(reloadIDHdr)
state.Status = status(tx.Status)
if state.Status == Succeeded {
state.Timestamp = time.Now()
}
return state, nil
default:
return state, getError(resp, body)
......
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