Bump pkglib to go1.22 version
This commit is contained in:
parent
84799afda2
commit
2d1f3e3819
9 changed files with 31 additions and 36 deletions
|
|
@ -47,7 +47,7 @@ func (bu blindUpdate) Run(context wisski_distillery.Context) (err error) {
|
|||
return err
|
||||
}
|
||||
if !bu.Force {
|
||||
wissKIs = collection.Filter(wissKIs, func(instance *wisski.WissKI) bool {
|
||||
wissKIs = collection.KeepFunc(wissKIs, func(instance *wisski.WissKI) bool {
|
||||
return bool(instance.AutoBlindUpdateEnabled)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,8 +103,9 @@ func (i info) Run(context wisski_distillery.Context) (err error) {
|
|||
}
|
||||
|
||||
context.Printf("Pathbuilders: (count %d)\n", len(info.Pathbuilders))
|
||||
collection.IterateSorted(info.Pathbuilders, func(name, data string) {
|
||||
collection.IterateSorted(info.Pathbuilders, func(name, data string) bool {
|
||||
context.Printf("- %s (%d bytes)\n", name, len(data))
|
||||
return true
|
||||
})
|
||||
|
||||
context.Printf("Users: (count %d)\n", len(info.Users))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue