Merge branch 'master' into origin-8019-crunchrun-log-throttle
[arvados.git] / services / api / lib / load_param.rb
index 3e1e8b5ebae633ec5aa1ec2b5d01ebcf172ed3e1..e3de05f24f4a33c2068990efbafdb4f4689250b0 100644 (file)
@@ -153,7 +153,7 @@ module LoadParam
       # Any ordering columns must be selected when doing select,
       # otherwise it is an SQL error, so filter out invaliding orderings.
       @orders.select! { |o|
-        col, dir = o.split
+        col, _ = o.split
         # match select column against order array entry
         @select.select { |s| col == "#{table_name}.#{s}" }.any?
       }