mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-18 08:58:30 +00:00
Merge pull request #19 from mstg/keykeeper-error-return-fix
This commit is contained in:
commit
d9d36b394f
@ -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