diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/analyze.go | 4 | ||||
-rw-r--r-- | cmd/build.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cmd/analyze.go b/cmd/analyze.go index 077e99c..6a99bba 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -18,6 +18,6 @@ func analyze(cmd *cobra.Command, args []string) { os.Exit(1) } color.New(color.Bold).Println("Analyzing Image") - manifest, refTrees := image.InitializeData(userImage) - ui.Run(manifest, refTrees) + manifest, refTrees, efficiency, inefficiencies := image.InitializeData(userImage) + ui.Run(manifest, refTrees, efficiency, inefficiencies) } diff --git a/cmd/build.go b/cmd/build.go index 49c41b2..309d1ee 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -41,6 +41,6 @@ func doBuild(cmd *cobra.Command, args []string) { log.Fatal(err) } - manifest, refTrees := image.InitializeData(string(imageId)) - ui.Run(manifest, refTrees) + manifest, refTrees, efficiency, inefficiencies := image.InitializeData(string(imageId)) + ui.Run(manifest, refTrees, efficiency, inefficiencies) } |