mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-19 09:28:29 +00:00
Fix keykeeper error return
This commit is contained in:
parent
7e5f6f932a
commit
064292e798
@ -213,7 +213,7 @@ func (s *Server) SignArtifactActivity(ctx context.Context, artifactId string, ke
|
|||||||
if err2 != nil {
|
if err2 != nil {
|
||||||
s.log.Errorf("failed to add error details to status: %v", err2)
|
s.log.Errorf("failed to add error details to status: %v", err2)
|
||||||
}
|
}
|
||||||
return nil, statusErr
|
return nil, statusErr.Err()
|
||||||
}
|
}
|
||||||
_, err = s.storage.PutObject(newObjectKey, localPath)
|
_, err = s.storage.PutObject(newObjectKey, localPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user