ingredient/ssh: Show ssh keys in info
This commit is contained in:
parent
5bceaa0d47
commit
e91e9cb4d6
4 changed files with 41 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue