mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-08-10 13:20:33 +02:00
Fix staticcheck linter
This commit is contained in:
+3
-2
@@ -357,8 +357,9 @@ func Test_legacyResolverWithBigExtraSection(t *testing.T) {
|
||||
Type: ResolverTypeLegacy,
|
||||
Endpoint: lanAddr,
|
||||
}
|
||||
uc.Init()
|
||||
r, err := NewResolver(uc)
|
||||
ctx := context.Background()
|
||||
uc.Init(ctx)
|
||||
r, err := NewResolver(ctx, uc)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user