From 05bd8fa0382c6527d49627aff70cbfc9dd8ad9e1 Mon Sep 17 00:00:00 2001 From: crozzy Date: Thu, 29 Jun 2023 15:01:34 -0700 Subject: [PATCH] clairctl: Add log line signifying admin is done It's hard to tell from the logs when the operations are complete. Signed-off-by: crozzy --- cmd/clairctl/admin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/clairctl/admin.go b/cmd/clairctl/admin.go index 640f2b6070..5d9e3bb5e3 100644 --- a/cmd/clairctl/admin.go +++ b/cmd/clairctl/admin.go @@ -134,6 +134,7 @@ func adminPre470(c *cli.Context) error { if _, err := conn.Exec(ctx, query); err != nil { return fmt.Errorf("error (re)indexing database: %w", err) } + zlog.Info(ctx).Msg("pre v4.7.0 admin done") return nil }) }