forked from coop-cloud/abra
fix: use correct error format
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 == "" {
|
||||
logrus.Fatal("unable to retrieve registry token?")
|
||||
return "", fmt.Errorf("unable to retrieve registry token?")
|
||||
}
|
||||
|
||||
req.Header = http.Header{
|
||||
|
|
Loading…
Reference in New Issue