Fix error message

This commit is contained in:
Zoltán Papp
2025-11-17 16:09:26 +01:00
parent 938554fb0f
commit a939c1767c

View File

@@ -151,7 +151,7 @@ func (s *SqlStore) CompletePeerJob(ctx context.Context, job *types.Job) error {
if result.Error != nil {
log.WithContext(ctx).Errorf("failed to update job in store: %s", result.Error)
return status.Errorf(status.Internal, "failed to create job in store")
return status.Errorf(status.Internal, "failed to update job in store")
}
return nil
}