Skip to content

Commit 4a6f00b

Browse files
committed
add todo with issue numbers
1 parent 7377228 commit 4a6f00b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/auto-pause/auto-pause.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,18 @@ var mu sync.Mutex
4040
var runtimePaused = false
4141
var version = "0.0.1"
4242

43-
// TODO: make this configurable to support containerd/cri-o
43+
// TODO: #10597 make this configurable to support containerd/cri-o
4444
var runtime = "docker"
4545

4646
func main() {
47-
// TODO: make this configurable
47+
// TODO: #10595 make this configurable
4848
const interval = time.Minute * 1
4949
// channel for incoming messages
5050
go func() {
5151
for {
5252
// On each iteration new timer is created
5353
select {
54+
// TODO: #10596 make it memory-leak proof
5455
case <-time.After(interval):
5556
runPause()
5657
case <-unpauseRequests:

0 commit comments

Comments
 (0)