diff --git a/models/replication_job.go b/models/replication_job.go index 4c3fc11d4..59c2ad375 100644 --- a/models/replication_job.go +++ b/models/replication_job.go @@ -35,6 +35,8 @@ const ( JobFinished string = "finished" //JobCanceled ... JobCanceled string = "canceled" + //JobRetrying indicate the job needs to be retried, it will be scheduled to the end of job queue by statemachine after an interval. + JobRetrying string = "retrying" //JobContinue is the status returned by statehandler to tell statemachine to move to next possible state based on trasition table. JobContinue string = "_continue" //RepOpTransfer represents the operation of a job to transfer repository to a remote registry/harbor instance.