10172: Allow auth_uuid to set container output. Work in progress.
[arvados.git] / services / api / app / models / job.rb
index e7d1b39ce9972f3fd5be785f56f4f7b0bcc57685..30ca7f8cb29581b0c65b0a70dd49c02f3b59f753 100644 (file)
@@ -282,18 +282,6 @@ class Job < ArvadosModel
     Digest::MD5.hexdigest(Oj.dump(deep_sort_hash(h)))
   end
 
-  def self.deep_sort_hash x
-    if x.is_a? Hash
-      x.sort.collect do |k, v|
-        [k, deep_sort_hash(v)]
-      end.to_h
-    elsif x.is_a? Array
-      x.collect { |v| deep_sort_hash(v) }
-    else
-      x
-    end
-  end
-
   def foreign_key_attributes
     super + %w(output log)
   end