X Tutup
Skip to content

Commit d15832a

Browse files
committed
Address review comments
-Fix whitespace on imports -Fix test case naming Signed-off-by: Jack Baines <jack.baines@uk.ibm.com>
1 parent 908b771 commit d15832a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

remotes/docker/fetcher.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ import (
2626
"path"
2727
"strings"
2828

29-
"github.com/docker/distribution/registry/api/errcode"
30-
3129
"github.com/containerd/containerd/errdefs"
3230
"github.com/containerd/containerd/images"
3331
"github.com/containerd/containerd/log"
32+
"github.com/docker/distribution/registry/api/errcode"
3433
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
3534
"github.com/pkg/errors"
3635
"github.com/sirupsen/logrus"

remotes/docker/fetcher_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ func TestFetcherOpen(t *testing.T) {
9999
}
100100
}
101101

102-
// New set of test to test new error cases
103-
func Test_dockerFetcher_open(t *testing.T) {
102+
// New set of tests to test new error cases
103+
func TestDockerFetcherOpen(t *testing.T) {
104104
tests := []struct {
105105
name string
106106
mockedStatus int

0 commit comments

Comments
 (0)
X Tutup