Migrate Sirupsen to sirupsen.

This commit is contained in:
Ludovic Fernandez
2018-01-22 12:16:03 +01:00
committed by Traefiker
parent c134dcd6fe
commit fb4ba7af2b
684 changed files with 92394 additions and 33943 deletions

View File

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