Move cron to drupal page
This commit is contained in:
parent
7c544d9ae4
commit
7fefb689c7
9 changed files with 61 additions and 41 deletions
|
|
@ -71,7 +71,11 @@ type LastRebuildFetcher struct {
|
|||
}
|
||||
}
|
||||
|
||||
func (lbr *LastRebuildFetcher) Fetch(ctx context.Context, flags ingredient.FetcherFlags, info *status.WissKI) (err error) {
|
||||
info.LastRebuild, _ = lbr.dependencies.Barrel.LastRebuild(ctx)
|
||||
var (
|
||||
_ ingredient.WissKIFetcher = (*LastRebuildFetcher)(nil)
|
||||
)
|
||||
|
||||
func (lbr *LastRebuildFetcher) Fetch(flags ingredient.FetcherFlags, info *status.WissKI) (err error) {
|
||||
info.LastRebuild, _ = lbr.dependencies.Barrel.LastRebuild(flags.Context)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,6 +55,6 @@ func (lbr *LastCronFetcher) Fetch(flags ingredient.FetcherFlags, info *status.Wi
|
|||
return
|
||||
}
|
||||
|
||||
info.LastRebuild, _ = lbr.dependencies.Drush.LastCron(flags.Context, flags.Server)
|
||||
info.LastCron, _ = lbr.dependencies.Drush.LastCron(flags.Context, flags.Server)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue