|
9 | 9 | "github.com/spf13/cobra" |
10 | 10 | "github.com/vmware-labs/distribution-tooling-for-helm/cmd/dt/config" |
11 | 11 | "github.com/vmware-labs/distribution-tooling-for-helm/pkg/chartutils" |
12 | | - "github.com/vmware-labs/distribution-tooling-for-helm/pkg/log" |
| 12 | + "github.com/vmware-labs/distribution-tooling-for-helm/pkg/dtlog" |
13 | 13 | "github.com/vmware-labs/distribution-tooling-for-helm/pkg/utils" |
14 | 14 | ) |
15 | 15 |
|
@@ -44,21 +44,21 @@ func NewCmd(cfg *config.Config) *cobra.Command { |
44 | 44 | } |
45 | 45 | } else { |
46 | 46 |
|
47 | | - _ = l.Section("Wrap Information", func(l log.SectionLogger) error { |
| 47 | + _ = l.Section("Wrap Information", func(l dtlog.SectionLogger) error { |
48 | 48 | l.Printf("Chart: %s", lock.Chart.Name) |
49 | 49 | l.Printf("Version: %s", lock.Chart.Version) |
50 | 50 | l.Printf("App Version: %s", lock.Chart.AppVersion) |
51 | | - _ = l.Section("Metadata", func(l log.SectionLogger) error { |
| 51 | + _ = l.Section("Metadata", func(l dtlog.SectionLogger) error { |
52 | 52 | for k, v := range lock.Metadata { |
53 | 53 | l.Printf("- %s: %s", k, v) |
54 | 54 |
|
55 | 55 | } |
56 | 56 | return nil |
57 | 57 | }) |
58 | | - _ = l.Section("Images", func(l log.SectionLogger) error { |
| 58 | + _ = l.Section("Images", func(l dtlog.SectionLogger) error { |
59 | 59 | for _, img := range lock.Images { |
60 | 60 | if showDetails { |
61 | | - _ = l.Section(fmt.Sprintf("%s/%s", img.Chart, img.Name), func(l log.SectionLogger) error { |
| 61 | + _ = l.Section(fmt.Sprintf("%s/%s", img.Chart, img.Name), func(l dtlog.SectionLogger) error { |
62 | 62 | l.Printf("Image: %s", img.Image) |
63 | 63 | if showDetails { |
64 | 64 | l.Printf("Digests") |
|
0 commit comments