fix: use correct error format
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f3e55e5023
commit
48e16c414c
@ -104,7 +104,7 @@ func GetTagDigest(cl *client.Client, image reference.Named) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if token == "" {
|
if token == "" {
|
||||||
logrus.Fatal("unable to retrieve registry token?")
|
return "", fmt.Errorf("unable to retrieve registry token?")
|
||||||
}
|
}
|
||||||
|
|
||||||
req.Header = http.Header{
|
req.Header = http.Header{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user