mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-10 05:27:07 +08:00
monitor: extend monitor interface from controller
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:

committed by
Kohei Tokunaga

parent
9f884edbbf
commit
a43837d26c
@ -23,7 +23,8 @@ func (cm *PsCmd) Info() types.CommandInfo {
|
||||
}
|
||||
|
||||
func (cm *PsCmd) Exec(ctx context.Context, args []string) error {
|
||||
plist, err := cm.m.ListProcesses(ctx)
|
||||
ref := cm.m.AttachedSessionID()
|
||||
plist, err := cm.m.ListProcesses(ctx, ref)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user