File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,5 +350,5 @@ func TestCreateContainerWithProxyConfig(t *testing.T) {
350350
351351type fakeNotFound struct {}
352352
353- func (f fakeNotFound ) NotFound () bool { return true }
354- func (f fakeNotFound ) Error () string { return "error fake not found" }
353+ func (f fakeNotFound ) NotFound () { }
354+ func (f fakeNotFound ) Error () string { return "error fake not found" }
Original file line number Diff line number Diff line change @@ -21,9 +21,7 @@ func (n notFound) Error() string {
2121 return fmt .Sprintf ("Error: No such image: %s" , n .imageID )
2222}
2323
24- func (n notFound ) NotFound () bool {
25- return true
26- }
24+ func (n notFound ) NotFound () {}
2725
2826func TestNewRemoveCommandAlias (t * testing.T ) {
2927 cmd := newRemoveCommand (test .NewFakeCli (& fakeClient {}))
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ type notFound struct {
1414 error
1515}
1616
17- func (n notFound ) NotFound () bool {
18- return true
19- }
17+ func (n notFound ) NotFound () {}
2018
2119func TestValidateExternalNetworks (t * testing.T ) {
2220 testcases := []struct {
You can’t perform that action at this time.
0 commit comments