Skip to content

Commit

Permalink
legacy dir
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Apr 22, 2024
1 parent 8221456 commit 698c36d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/main/ruby/lib/merritt_zk_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,9 @@ def title
end

class LegacyIngestJob < LegacyItem
def self.dir
'/ingest'
DIR = '/ingest'
def dir
DIR
end

def status_vals
Expand Down
3 changes: 2 additions & 1 deletion src/main/ruby/lib/merritt_zk_queue_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ def data_prop(prop, defval)
end

class LegacyItem
DIR = '/na'
def dir
'/na'
DIR
end

def status_vals
Expand Down

0 comments on commit 698c36d

Please sign in to comment.