Skip to content

Commit

Permalink
clairctl: Add log line signifying admin is done
Browse files Browse the repository at this point in the history
It's hard to tell from the logs when the operations are complete.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed Jun 30, 2023
1 parent c636e20 commit 05bd8fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/clairctl/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}

0 comments on commit 05bd8fa

Please sign in to comment.