Skip to content

Commit

Permalink
[Server] Fix process name
Browse files Browse the repository at this point in the history
  • Loading branch information
roryye authored and SongZhen0704 committed Sep 5, 2023
1 parent e3a07f2 commit 3742c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controller/cloud/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ func (c *Cloud) appendResourceProcess(resource model.Resource) model.Resource {
if !ok {
continue
}
var name, processName string
name, processName := sProcess.Name, sProcess.ProcessName
if len(sProcess.Name) > c.cfg.ProcessNameLenMax {
name = sProcess.Name[:c.cfg.ProcessNameLenMax]
}
Expand Down

0 comments on commit 3742c2c

Please sign in to comment.