mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
chore: make the linter happier (#3245)
* chore: make the linter happier * chore: remove reference to maligned linter in .golangci.yml
This commit is contained in:
parent
28fdf64dc5
commit
7dfd69cdc5
19 changed files with 28 additions and 26 deletions
|
@ -471,7 +471,7 @@ func (t *TLS) moveCertificates() error {
|
|||
}
|
||||
|
||||
// get list of used CAs
|
||||
var oldCANames []string
|
||||
oldCANames := make([]string, 0, len(oldAcmeCas))
|
||||
for _, fi := range oldAcmeCas {
|
||||
if !fi.IsDir() {
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue