Skip to content

Commit

Permalink
Merge pull request #227 from testwill/pkg-import
Browse files Browse the repository at this point in the history
chore: import packages only once
  • Loading branch information
liulanzheng authored Sep 20, 2023
2 parents 9ac0044 + 9f644a3 commit b065b1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/convertor/builder/builder_engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
"github.com/containerd/containerd/remotes"
"github.com/opencontainers/go-digest"
specs "github.com/opencontainers/image-spec/specs-go/v1"
v1 "github.com/opencontainers/image-spec/specs-go/v1"
)

func Test_builderEngineBase_isGzipLayer(t *testing.T) {
Expand Down Expand Up @@ -58,7 +57,7 @@ func Test_builderEngineBase_isGzipLayer(t *testing.T) {
t.Error(err)
}

parsedManifest := v1.Manifest{}
parsedManifest := specs.Manifest{}
decoder := json.NewDecoder(manifestStream)
if err = decoder.Decode(&parsedManifest); err != nil {
t.Error(err)
Expand Down

0 comments on commit b065b1c

Please sign in to comment.