forked from SW/traefik
Update lego
This commit is contained in:
committed by
Traefiker Bot
parent
0a89cccdc0
commit
73e0561610
4
vendor/github.com/linode/linodego/errors.go
generated
vendored
4
vendor/github.com/linode/linodego/errors.go
generated
vendored
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/go-resty/resty"
|
||||
"gopkg.in/resty.v1"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -60,7 +60,7 @@ func coupleAPIErrors(r *resty.Response, err error) (*resty.Response, error) {
|
||||
}
|
||||
|
||||
func (e APIError) Error() string {
|
||||
var x []string
|
||||
x := []string{}
|
||||
for _, msg := range e.Errors {
|
||||
x = append(x, msg.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user