lib/hackers.rb
##
# Sets amount of builders for node:
#   id        = Node ID
#   builders  = Amount of builders
#
# Returns the string "ok" if the request is successful
Sets amount of builders for node:
id        = Node ID
builders  = Amount of builders

Returns the string "ok" if the request is successful
Sets amount of builders for node : id = Node ID builders = Amount of builders Returns the string " ok " if the request is successful
def cmdNodeSetBuilders(id, builders)
        params = {
          "node_set_builders"   => 1,
          "id_node"             => id,
          "builders"            => builders,
          "app_version"         => @config["version"],
        }
        response = @client.request(params, @sid)
        return response
      end
def cmdNodeSetBuilders ( id , builders ) params = { "node_set_builders" => 1 , "id_node" => id , "builders" => builders , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid ) return response end
Sets amount of builders for node:
id        = Node ID
builders  = Amount of builders
Sets amount of builders for node : id = Node ID builders = Amount of builders
id
builders