summaryrefslogtreecommitdiff
path: root/plugins/jobs/rpc.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-11 13:44:41 +0300
committerValery Piashchynski <[email protected]>2021-08-11 13:44:41 +0300
commite855ae9fe5673bd95f45f9a265259cb5ecdc9f81 (patch)
tree6653231b4ad11ba93d3b1562c38a2798abb467ff /plugins/jobs/rpc.go
parentde37ed3ae8d08a50d9ffe088c1d58d9dffdf7c9b (diff)
Remove attempts from the proto, and general jobs options
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/rpc.go')
-rw-r--r--plugins/jobs/rpc.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/jobs/rpc.go b/plugins/jobs/rpc.go
index aeba499b..717ce33b 100644
--- a/plugins/jobs/rpc.go
+++ b/plugins/jobs/rpc.go
@@ -143,7 +143,6 @@ func (r *rpc) from(j *jobsv1beta.Job) *job.Job {
Priority: j.GetOptions().GetPriority(),
Pipeline: j.GetOptions().GetPipeline(),
Delay: j.GetOptions().GetDelay(),
- Attempts: j.GetOptions().GetAttempts(),
RetryDelay: j.GetOptions().GetRetryDelay(),
Timeout: j.GetOptions().GetTimeout(),
},