We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2431f83 commit a7b11e0Copy full SHA for a7b11e0
.github/workflows/pr.yml
@@ -13,7 +13,7 @@ jobs:
13
runs-on: ubuntu-latest
14
env:
15
GO_VERSION: 1.19
16
- GOLANGCI_LINT_VERSION: v1.49.0
+ GOLANGCI_LINT_VERSION: v1.50.1
17
HUGO_VERSION: 0.54.0
18
CGO_ENABLED: 0
19
LEGO_E2E_TESTS: CI
.golangci.toml
@@ -204,3 +204,7 @@
204
[[issues.exclude-rules]]
205
path = "providers/dns/sakuracloud/client.go"
206
text = "mu is a global variable"
207
+
208
+ [[issues.exclude-rules]]
209
+ path = "providers/dns/hosttech/internal/client_test.go"
210
+ text = "Duplicate words \\(0\\) found"
challenge/resolver/solver_manager.go
@@ -53,7 +53,7 @@ func (c *SolverManager) SetDNS01Provider(p challenge.Provider, opts ...dns01.Cha
53
return nil
54
}
55
56
-// Remove Remove a challenge type from the available solvers.
+// Remove removes a challenge type from the available solvers.
57
func (c *SolverManager) Remove(chlgType challenge.Type) {
58
delete(c.solvers, chlgType)
59
providers/dns/constellix/internal/auth.go
@@ -65,7 +65,7 @@ func (t *TokenTransport) Client() *http.Client {
65
return &http.Client{Transport: t}
66
67
68
-// Wrap Wrap a HTTP client Transport with the TokenTransport.
+// Wrap wraps an HTTP client Transport with the TokenTransport.
69
func (t *TokenTransport) Wrap(client *http.Client) *http.Client {
70
backup := client.Transport
71
t.Transport = backup
providers/dns/dynu/internal/auth.go
@@ -54,7 +54,7 @@ func (t *TokenTransport) Client() *http.Client {
60
providers/dns/iij/iij_test.go
@@ -167,21 +167,21 @@ func TestSplitDomain(t *testing.T) {
167
expectedZone: "domain.com",
168
},
169
{
170
- desc: "with a sub domain",
+ desc: "with a subdomain",
171
domain: "my.domain.com",
172
zones: []string{"domain.com"},
173
expectedOwner: "_acme-challenge.my",
174
175
176
177
- desc: "with a sub domain in a zone",
+ desc: "with a subdomain in a zone",
178
domain: "my.sub.domain.com",
179
zones: []string{"sub.domain.com", "domain.com"},
180
181
expectedZone: "sub.domain.com",
182
183
184
- desc: "with a sub sub domain",
+ desc: "with a sub-subdomain",
185
186
zones: []string{"domain1.com", "domain.com"},
187
expectedOwner: "_acme-challenge.my.sub",
0 commit comments