2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-25 23:32:17 +08:00

Fix cli build

This commit is contained in:
Ken Hibino 2020-06-04 06:35:50 -07:00
parent a38f628f3b
commit e236d55477

View File

@ -61,7 +61,7 @@ func workers(cmd *cobra.Command, args []string) {
if x.Started != y.Started { if x.Started != y.Started {
return x.Started.Before(y.Started) return x.Started.Before(y.Started)
} }
return x.ID.String() < y.ID.String() return x.ID < y.ID
}) })
cols := []string{"Process", "ID", "Type", "Payload", "Queue", "Started"} cols := []string{"Process", "ID", "Type", "Payload", "Queue", "Started"}