Skip to content

Commit

Permalink
Add context to drain functions
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Sch <[email protected]>
  • Loading branch information
SchSeba committed Jun 1, 2022
1 parent 83d6b44 commit 4225d2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
steps:

- name: Set up Go 1.18
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.18.2
go-version: '>=1.18.2'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions pkg/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func New(
},
Out: writer{glog.Info},
ErrOut: writer{glog.Error},
Ctx: context.Background(),
},
workqueue: workqueue.NewNamedRateLimitingQueue(workqueue.NewMaxOfRateLimiter(
&workqueue.BucketRateLimiter{Limiter: rate.NewLimiter(rate.Limit(updateDelay), 1)},
Expand Down

0 comments on commit 4225d2d

Please sign in to comment.