Skip to content

Commit 84032d6

Browse files
ZhengYa-0110SongZhen0704
authored andcommitted
fix: store wrong process start_time
1 parent 989fa73 commit 84032d6

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

server/controller/recorder/pubsub/process.go

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
/**
1+
/*
22
* Copyright (c) 2024 Yunshan Networks
3-
message.ProcessUpdate,
4-
*message.ProcessFieldsUpdate,
5-
message.ProcessFieldsUpdate,
6-
*message.DeletedProcesses,
7-
message.DeletedProcesses,
8-
message.ProcessDeleteAddition,icensed under the Apache License, Version 2.0 (the "License");
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
95
* you may not use this file except in compliance with the License.
106
* You may obtain a copy of the License at
117
*
@@ -16,7 +12,7 @@
1612
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1713
* See the License for the specific language governing permissions and
1814
* limitations under the License.
19-
*/
15+
*/
2016

2117
package pubsub
2218

server/controller/recorder/updater/process.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ func (p *Process) generateDBItemToAdd(cloudItem *cloudmodel.Process) (*metadbmod
132132
PID: cloudItem.PID,
133133
ProcessName: cloudItem.ProcessName,
134134
CommandLine: cloudItem.CommandLine,
135+
StartTime: cloudItem.StartTime,
135136
UserName: cloudItem.UserName,
136137
ContainerID: cloudItem.ContainerID,
137138
OSAPPTags: cloudItem.OSAPPTags,

0 commit comments

Comments
 (0)