From 698c36d4e45ac1b93e922707a661309f5f29cfe3 Mon Sep 17 00:00:00 2001 From: Terry Brady Date: Mon, 22 Apr 2024 09:55:30 -0700 Subject: [PATCH] legacy dir --- src/main/ruby/lib/merritt_zk_job.rb | 5 +++-- src/main/ruby/lib/merritt_zk_queue_item.rb | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/ruby/lib/merritt_zk_job.rb b/src/main/ruby/lib/merritt_zk_job.rb index 55a2f34..aba6cba 100644 --- a/src/main/ruby/lib/merritt_zk_job.rb +++ b/src/main/ruby/lib/merritt_zk_job.rb @@ -197,8 +197,9 @@ def title end class LegacyIngestJob < LegacyItem - def self.dir - '/ingest' + DIR = '/ingest' + def dir + DIR end def status_vals diff --git a/src/main/ruby/lib/merritt_zk_queue_item.rb b/src/main/ruby/lib/merritt_zk_queue_item.rb index c810431..a110700 100644 --- a/src/main/ruby/lib/merritt_zk_queue_item.rb +++ b/src/main/ruby/lib/merritt_zk_queue_item.rb @@ -122,8 +122,9 @@ def data_prop(prop, defval) end class LegacyItem + DIR = '/na' def dir - '/na' + DIR end def status_vals