summaryrefslogtreecommitdiff
path: root/plugins/jobs/structs/job_options.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/structs/job_options.go')
-rw-r--r--plugins/jobs/structs/job_options.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/jobs/structs/job_options.go b/plugins/jobs/structs/job_options.go
index 3e1ada85..d48e2c56 100644
--- a/plugins/jobs/structs/job_options.go
+++ b/plugins/jobs/structs/job_options.go
@@ -6,10 +6,7 @@ import "time"
type Options struct {
// Priority is job priority, default - 10
// pointer to distinguish 0 as a priority and nil as priority not set
- Priority *uint64 `json:"priority"`
-
- // ID - generated ID for the job
- ID *string `json:"id"`
+ Priority uint64 `json:"priority"`
// Pipeline manually specified pipeline.
Pipeline string `json:"pipeline,omitempty"`