mirror of https://github.com/harness/drone.git
fix: [CDE-478]: Setting the first value of gits_last_heartbeat field equal to gits_active_time_started when a gitspace is confirmed to be running by the container orchestrator. (#2978)
* fix: [CDE-478]: Setting the first value of gits_last_heartbeat field equal to gits_active_time_started when a gitspace is confirmed to be running by the container orchestrator.pull/3586/head
parent
1781c3be70
commit
6200fa9844
|
@ -157,6 +157,7 @@ func (o orchestrator) ResumeStartGitspace(
|
|||
now := time.Now().UnixMilli()
|
||||
gitspaceInstance.LastUsed = &now
|
||||
gitspaceInstance.ActiveTimeStarted = &now
|
||||
gitspaceInstance.LastHeartbeat = &now
|
||||
gitspaceInstance.State = enum.GitspaceInstanceStateRunning
|
||||
|
||||
o.emitGitspaceEvent(ctx, gitspaceConfig, enum.GitspaceEventTypeGitspaceActionStartCompleted)
|
||||
|
|
Loading…
Reference in New Issue