Skip to content

Commit

Permalink
pkg/podman: Add error for 'podman pull' failing due to no authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryMichal authored and debarshiray committed Jul 4, 2021
1 parent ecd8927 commit 5c7904f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pkg/podman/podman.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package podman
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"

Expand All @@ -32,7 +33,8 @@ var (
)

var (
LogLevel = logrus.ErrorLevel
ErrUnauthorized = errors.New("unauthorized")
LogLevel = logrus.ErrorLevel
)

// CheckVersion compares provided version with the version of Podman.
Expand Down

0 comments on commit 5c7904f

Please sign in to comment.