diff --git a/pkg/client/docker/docker.go b/pkg/client/docker/docker.go index 9ce166c..581d8cc 100644 --- a/pkg/client/docker/docker.go +++ b/pkg/client/docker/docker.go @@ -70,7 +70,7 @@ func New(opts Options, log *logrus.Entry) (*Client, error) { retryclient.RetryWaitMin = 1 * time.Second // This custom backoff will fail requests that have a max wait of the RetryWaitMax retryclient.Backoff = util.HTTPBackOff - retryclient.Logger = leveledlogger.Logger{Entry: log.WithField("client", "docker")} + retryclient.Logger = &leveledlogger.Logger{Entry: log.WithField("client", "docker")} client := retryclient.StandardClient() // Setup Auth if username and password used. diff --git a/pkg/client/quay/quay.go b/pkg/client/quay/quay.go index dd229fc..bb74510 100644 --- a/pkg/client/quay/quay.go +++ b/pkg/client/quay/quay.go @@ -40,7 +40,7 @@ func New(opts Options, log *logrus.Entry) *Client { if opts.Transporter != nil { client.HTTPClient.Transport = opts.Transporter } - client.Logger = leveledlogger.Logger{Entry: log.WithField("client", "quay")} + client.Logger = &leveledlogger.Logger{Entry: log.WithField("client", "quay")} return &Client{ Options: opts,