From 75cdcd78b34ba69c4f0a51452ee13ed974f6d7c6 Mon Sep 17 00:00:00 2001 From: shaheerkootteeri Date: Wed, 10 Aug 2022 13:45:14 -0500 Subject: [PATCH] adds review comments --- pkg/imgpkg/plainimage/contents.go | 5 ++--- pkg/imgpkg/registry/with_progress.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/imgpkg/plainimage/contents.go b/pkg/imgpkg/plainimage/contents.go index 97f6c78d..28315dbb 100644 --- a/pkg/imgpkg/plainimage/contents.go +++ b/pkg/imgpkg/plainimage/contents.go @@ -18,9 +18,8 @@ import ( ) type Contents struct { - paths []string - excludedPaths []string - displayProgress bool + paths []string + excludedPaths []string } type ImagesWriter interface { diff --git a/pkg/imgpkg/registry/with_progress.go b/pkg/imgpkg/registry/with_progress.go index 4ecb19a9..fa464be9 100644 --- a/pkg/imgpkg/registry/with_progress.go +++ b/pkg/imgpkg/registry/with_progress.go @@ -4,7 +4,7 @@ package registry import ( - context "context" + "context" regname "github.com/google/go-containerregistry/pkg/name" regv1 "github.com/google/go-containerregistry/pkg/v1"