2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00

fix: lint

This commit is contained in:
耗子
2024-03-23 01:11:36 +08:00
parent 3df1388326
commit f50f2f7f2b

View File

@@ -174,7 +174,7 @@ func (s manualDNSSolver) Present(ctx context.Context, challenge acme.Challenge)
})
s.dataChan <- *s.records
ctx, cancel := context.WithTimeout(ctx, 2*time.Minute)
_, cancel := context.WithTimeout(ctx, 2*time.Minute)
defer cancel()
// 等待信号以继续
@@ -183,7 +183,6 @@ func (s manualDNSSolver) Present(ctx context.Context, challenge acme.Challenge)
}
func (s manualDNSSolver) CleanUp(_ context.Context, _ acme.Challenge) error {
s.records = &[]DNSRecord{}
return nil
}