Skip to content

Commit d4a636e

Browse files
committed
info message to confirm accuracy of generated manifest
1 parent 47e64b2 commit d4a636e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmd/hauler/cli/store/create_manifest.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ func CreateManifestCmd(ctx context.Context, o *flags.CreateManifestOpts, s *stor
7373
fmt.Fprintln(os.Stderr, "WARNING: The version of Hauler used to create this store did not include provenance metadata to reconstruct the manifest. Please confirm the generated manifest is accurate.")
7474
}
7575

76+
// Advise reviewing the output regardless of provenance. Written to stderr so it
77+
// stays visible even in stdout mode (where the logger is silenced and stdout
78+
// carries the YAML).
79+
fmt.Fprintln(os.Stderr, "INFO: Always confirm the accuracy of the generated manifest before recreating store.")
80+
7681
var images []manifestImage
7782
var charts []manifestChart
7883
var files []manifestFile

0 commit comments

Comments
 (0)