mirror of
https://github.com/hhftechnology/vps-monitor.git
synced 2026-04-26 10:41:00 +00:00
Update command.go
This commit is contained in:
parent
6a7a393d7f
commit
c42846cc89
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ func (h *commandHandler) buildStatusMessage() string {
|
|||
running++
|
||||
|
||||
wg.Add(1)
|
||||
go func(hName string, c models.Container) {
|
||||
go func(hName string, c models.ContainerInfo) {
|
||||
defer wg.Done()
|
||||
stats, err := dockerClient.GetContainerStatsOnce(ctx, hName, c.ID)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue