lint: Move out config reloader context from controller struct

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
Petu Eusebiu
2022-03-24 14:49:51 +02:00
committed by Ramkumar Chinchani
parent 353b0c6034
commit be910cf01c
17 changed files with 91 additions and 84 deletions
+2 -2
View File
@@ -200,7 +200,7 @@ func TestLatestTagSearchHTTP(t *testing.T) {
go func() {
// this blocks
if err := ctlr.Run(); err != nil {
if err := ctlr.Run(context.Background()); err != nil {
return
}
}()
@@ -338,7 +338,7 @@ func TestExpandedRepoInfo(t *testing.T) {
go func() {
// this blocks
if err := ctlr.Run(); err != nil {
if err := ctlr.Run(context.Background()); err != nil {
return
}
}()