fix: use correct error format
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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…
Reference in New Issue