ingredient/ssh: Show ssh keys in info

This commit is contained in:
Tom Wiesing 2022-11-12 14:32:01 +01:00
parent 5bceaa0d47
commit e91e9cb4d6
No known key found for this signature in database
4 changed files with 41 additions and 0 deletions

View file

@ -63,6 +63,11 @@ func (i info) Run(context wisski_distillery.Context) error {
context.Printf("Last Update: %v\n", info.LastUpdate.String())
context.Printf("Last Cron: %v\n", info.LastCron.String())
context.Printf("SSH Keys: (count %d)\n", len(info.SSHKeys))
for _, key := range info.SSHKeys {
context.Printf("- %s\n", key)
}
context.Printf("Skip Prefixes: %v\n", info.NoPrefixes)
context.Printf("Prefixes: (count %d)\n", len(info.Prefixes))
for _, prefix := range info.Prefixes {