fix remote connection use of context

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2020-03-20 13:15:50 -05:00
parent baf3a9b3a7
commit 4a00409bf8

View File

@ -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
}