control/instance: Show if excluded from resolver

This commit is contained in:
Tom Wiesing 2022-10-05 17:09:46 +02:00
parent ce0c053fde
commit d2d681a4f2
No known key found for this signature in database
3 changed files with 5 additions and 1 deletions

View file

@ -24,6 +24,7 @@ type WissKIInfo struct {
Snapshots []models.Snapshot
// WissKI content information
NoPrefixes bool
Prefixes []string // list of prefixes
Pathbuilders map[string]string // all the pathbuilders
}
@ -60,6 +61,7 @@ func (wisski *WissKI) Info(quick bool) (info WissKIInfo, err error) {
})
group.Go(func() (err error) {
info.Prefixes, _ = wisski.Prefixes()
info.NoPrefixes = wisski.NoPrefix()
return nil
})
group.Go(func() error {