component: Remove legacy type alias

This commit is contained in:
Tom Wiesing 2022-11-14 10:57:37 +01:00
parent 11b2e3eb37
commit 162b1d3d65
No known key found for this signature in database
4 changed files with 9 additions and 12 deletions

View file

@ -18,12 +18,9 @@ type Info struct {
Analytics *lazy.PoolAnalytics
}
// TODO: Use the information struct globally
type WissKIInfo = ingredient.Information
// Information fetches information about this WissKI.
// TODO: Rework this to be able to determine what kind of information is available.
func (wisski *Info) Information(quick bool) (info WissKIInfo, err error) {
func (wisski *Info) Information(quick bool) (info ingredient.Information, err error) {
// setup flags
flags := ingredient.FetchFlags{
Quick: quick,