Fix missing error check in ContainerTop on Windows

Signed-off-by: Jack Phillips <jack.phillips@datadoghq.com>
This commit is contained in:
Jack Phillips committed 2026-02-10 12:35:48 -05:00
1 parent d8359c1a13
commit 146c702f24
1 file changed
+4
+4
View File
@@ -51,6 +51,10 @@ func (daemon *Daemon) ContainerTop(name string, psArgs string) (*container.TopRe
return task, nil
}()
if err != nil {
return nil, err
}
s, err := task.Summary(context.Background())
if err != nil {
return nil, err