fix: use correct error format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
cellarspoon 2021-12-12 01:56:43 +01:00
parent f3e55e5023
commit 48e16c414c
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -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{