Return fifo paths from Shim
This allows attach of existing fifos to be done without any information stored on the client side. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -15,7 +15,10 @@ type process struct {
|
||||
}
|
||||
|
||||
func (p *process) State(ctx context.Context) (plugin.State, error) {
|
||||
return p, nil
|
||||
return plugin.State{
|
||||
Pid: p.Pid(),
|
||||
Status: p.Status(),
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (p *process) Kill(ctx context.Context, sig uint32, all bool) error {
|
||||
|
Reference in New Issue
Block a user