mirror of
https://github.com/traefik/traefik.git
synced 2026-06-17 19:09:29 +03:00
chore: update linter
This commit is contained in:
committed by
GitHub
parent
12e50e20e6
commit
553ef94047
@@ -4,6 +4,7 @@ import (
|
||||
zipa "archive/zip"
|
||||
"context"
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
@@ -423,5 +424,5 @@ func computeHash(filepath string) (string, error) {
|
||||
|
||||
sum := hash.Sum(nil)
|
||||
|
||||
return fmt.Sprintf("%x", sum), nil
|
||||
return hex.EncodeToString(sum), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user