From 3ce1763a7db7060ff9c3f051760340ee349ece97 Mon Sep 17 00:00:00 2001 From: Mike Sul Date: Tue, 9 Apr 2024 16:17:46 +0200 Subject: [PATCH] offline-update: Check bundle meta in each sub-command Signed-off-by: Mike Sul --- subcommands/targets/offline-update.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subcommands/targets/offline-update.go b/subcommands/targets/offline-update.go index 4f32b059..2d1bea02 100644 --- a/subcommands/targets/offline-update.go +++ b/subcommands/targets/offline-update.go @@ -198,6 +198,7 @@ Notice that multiple targets in the same directory is only supported in LmP >= v } fmt.Println("Successfully downloaded offline update content") } + doShowBundle(cmd, []string{dstDir}) } func getTargetInfo(targetFile *tuf.FileMeta) (*ouTargetInfo, error) { @@ -489,6 +490,7 @@ func doSignBundle(cmd *cobra.Command, args []string) { } else { subcommands.DieNotNil(err) } + doShowBundle(cmd, args) } func getLatestRoot(bundleTufPath string) (*client.AtsTufRoot, error) {