Closed gwendollyn closed 5 months ago
Can you please try to reproduce the issue in the latest harbor? for example: https://demo.goharbor.io
Can you please try to reproduce the issue in the latest harbor? for example: https://demo.goharbor.io
It seems that you created this rule through API and the algorithm
field is missed. default it should be "algorithm":"or"
the backend API should validate the input first or use the default value
@stonezdj Thanks for the answer. But I got same errors even if I manually created another new retention policy on the project.
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.
Expected behavior and actual behavior: I added retention policy like this.
but I kept getting errors:
[ERROR] [/pkg/retention/job.go:235]: retention job: get processor for algorithm: : no processor registered with algorithm:
Versions:
Additional context: /var/log/harbor/jobservice.log