fix: [CDE-454]: set initial used time. (#2930)

* fix: [CDE-454]: set initial used time.
pull/3586/head
Ansuman Satapathy 2024-11-05 17:49:09 +00:00 committed by Harness
parent 9b89229a35
commit 4ee52b0cf8
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ func (c *Service) buildGitspaceInstance(config *types.GitspaceConfig) (*types.Gi
Created: now,
Updated: now,
TotalTimeUsed: 0,
LastUsed: &now,
}
if config.IDE == enum.IDETypeVSCodeWeb || config.IDE == enum.IDETypeVSCode {
gitspaceInstance.MachineUser = &gitspaceMachineUser