forked from Ivasoft/traefik
Migrate Sirupsen to sirupsen.
This commit is contained in:
committed by
Traefiker
parent
c134dcd6fe
commit
fb4ba7af2b
2
vendor/github.com/docker/libcompose/docker/container/functions.go
generated
vendored
2
vendor/github.com/docker/libcompose/docker/container/functions.go
generated
vendored
@@ -32,7 +32,7 @@ func ListByFilter(ctx context.Context, clientInstance client.ContainerAPIClient,
|
||||
func Get(ctx context.Context, clientInstance client.ContainerAPIClient, id string) (*types.ContainerJSON, error) {
|
||||
container, err := clientInstance.ContainerInspect(ctx, id)
|
||||
if err != nil {
|
||||
if client.IsErrContainerNotFound(err) {
|
||||
if client.IsErrNotFound(err) {
|
||||
return nil, nil
|
||||
}
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user