control/instance: Show if excluded from resolver
This commit is contained in:
parent
ce0c053fde
commit
d2d681a4f2
3 changed files with 5 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue