app/models/plan_execution.rb
def options
    if run_options[:run_for_nodes].kind_of?(Hash)
      run_options.merge({
        :run_for_nodes => OpenStruct.new(run_options[:run_for_nodes])
      })
    else
      run_options
    end
  end
# We should probably just support a Hash as an argument
# in the node_filter method in dop_common
We should probably just support a Hash as an argument
in the node_filter method in dop_common
We should probably just support a Hash as an argument in the node_filter method in dop_common
def options
    if run_options[:run_for_nodes].kind_of?(Hash)
      run_options.merge({
        :run_for_nodes => OpenStruct.new(run_options[:run_for_nodes])
      })
    else
      run_options
    end
  end
def options if run_options [ :run_for_nodes ] . kind_of? ( Hash ) run_options . merge ( { :run_for_nodes => OpenStruct . new ( run_options [ :run_for_nodes ] ) } ) else run_options end end
We should probably just support a Hash as an argument
in the node_filter method in dop_common
We should probably just support a Hash as an argument in the node_filter method in dop_common