1
0
mirror of https://github.com/go-acme/lego.git synced 2025-12-01 01:15:51 +02:00

chore: update linter (#1524)

This commit is contained in:
Ludovic Fernandez
2021-11-03 20:39:12 +01:00
committed by GitHub
parent d2455c5f53
commit 2de6e0b0c8
31 changed files with 97 additions and 25 deletions

View File

@@ -8,7 +8,7 @@ import (
)
const (
dnsTemplate = `%s %d IN TXT "%s"`
dnsTemplate = `%s %d IN TXT %q`
)
// DNSProviderManual is an implementation of the ChallengeProvider interface.

View File

@@ -36,7 +36,7 @@ func TestDNSProviderManual(t *testing.T) {
assert.NoError(t, err)
defer func() { _ = os.Remove(file.Name()) }()
_, err = io.WriteString(file, test.input)
_, err = file.WriteString(test.input)
assert.NoError(t, err)
_, err = file.Seek(0, io.SeekStart)