summaryrefslogtreecommitdiff
path: root/plugins/jobs/brokers/ephemeral/entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/brokers/ephemeral/entry.go')
-rw-r--r--plugins/jobs/brokers/ephemeral/entry.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/jobs/brokers/ephemeral/entry.go b/plugins/jobs/brokers/ephemeral/entry.go
index bf8796d5..3cedec3e 100644
--- a/plugins/jobs/brokers/ephemeral/entry.go
+++ b/plugins/jobs/brokers/ephemeral/entry.go
@@ -1,13 +1,18 @@
package ephemeral
type entry struct {
- id string
+ id string
+ priority uint64
}
func (e *entry) ID() string {
return e.id
}
+func (e *entry) Priority() uint64 {
+ return e.priority
+}
+
func (e *entry) Ask() {
// no-op
}