chore: update linter. (#1214)

This commit is contained in:
Ludovic Fernandez 2020-07-10 01:48:18 +02:00 committed by GitHub
parent 23328fcdd2
commit 6b00497f34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 119 additions and 102 deletions

View file

@ -35,7 +35,7 @@ type Core struct {
}
// New Creates a new Core.
func New(httpClient *http.Client, userAgent string, caDirURL, kid string, privateKey crypto.PrivateKey) (*Core, error) {
func New(httpClient *http.Client, userAgent, caDirURL, kid string, privateKey crypto.PrivateKey) (*Core, error) {
doer := sender.NewDoer(httpClient, userAgent)
dir, err := getDirectory(doer, caDirURL)