Skip to content

Commit 9ba1314

Browse files
committed
cli/command/system: fix error formatting (errlint)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent c515017 commit 9ba1314

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/command/system/inspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ func inspectAll(ctx context.Context, dockerCLI command.Cli, getSize bool, typeCo
273273
}
274274
return v, raw, err
275275
}
276-
return nil, nil, errors.Errorf("Error: No such object: %s", ref)
276+
return nil, nil, errors.Errorf("error: no such object: %s", ref)
277277
}
278278
}
279279

e2e/system/inspect_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func TestInspectInvalidReference(t *testing.T) {
1212
result := icmd.RunCmd(icmd.Command("docker", "inspect", "FooBar"))
1313
result.Assert(t, icmd.Expected{
1414
Out: "[]",
15-
Err: "Error: No such object: FooBar",
15+
Err: "error: no such object: FooBar",
1616
ExitCode: 1,
1717
})
1818
}

0 commit comments

Comments
 (0)