2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-25 23:06:12 +08:00

Fix CLI build

This commit is contained in:
Ken Hibino
2021-01-28 19:27:58 -08:00
parent 14c381dc40
commit 430b01c9aa
4 changed files with 17 additions and 16 deletions

View File

@@ -11,7 +11,7 @@ import (
"sort"
"time"
"github.com/hibiken/asynq"
"github.com/hibiken/asynq/inspeq"
"github.com/spf13/cobra"
)
@@ -108,7 +108,7 @@ func cronHistory(cmd *cobra.Command, args []string) {
fmt.Printf("Entry: %s\n\n", entryID)
events, err := inspector.ListSchedulerEnqueueEvents(
entryID, asynq.PageSize(pageSize), asynq.Page(pageNum))
entryID, inspeq.PageSize(pageSize), inspeq.Page(pageNum))
if err != nil {
fmt.Printf("error: %v\n", err)
continue