fix remote connection use of context
Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
parent
baf3a9b3a7
commit
4a00409bf8
|
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
func (ic *ContainerEngine) ContainerExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error) {
|
||||
exists, err := containers.Exists(ctx, nameOrId)
|
||||
exists, err := containers.Exists(ic.ClientCxt, nameOrId)
|
||||
return &entities.BoolReport{Value: exists}, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue