Skip to content

Commit

Permalink
move log message to be accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Jun 24, 2024
1 parent 9da3908 commit d585f5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ go 1.22.0

toolchain go1.22.4

replace github.com/go-vela/server => ../server

require (
github.com/Bose/minisentinel v0.0.0-20200130220412-917c5a9223bb
github.com/DATA-DOG/go-sqlmock v1.5.2
Expand Down
4 changes: 2 additions & 2 deletions queue/redis/pop.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (

// Pop grabs an item from the specified channel off the queue.
func (c *client) Pop(ctx context.Context, inRoutes []string) (*models.Item, error) {
c.Logger.Tracef("popping item from queue %s", c.GetRoutes())

// define routes to pop from
var routes []string

Expand All @@ -27,6 +25,8 @@ func (c *client) Pop(ctx context.Context, inRoutes []string) (*models.Item, erro
routes = c.GetRoutes()
}

c.Logger.Tracef("popping item from queue %s", routes)

// build a redis queue command to pop an item from queue
//
// https://pkg.go.dev/github.com/go-redis/redis?tab=doc#Client.BLPop
Expand Down

0 comments on commit d585f5b

Please sign in to comment.