Commit b32955f5 authored by nazarf's avatar nazarf

small fix

git-svn-id: https://svn.sp-service.com.ua/svnroot/svn/node-stats/trunk@5 320591d9-fe85-4a77-9bad-1a723db14d60
parent 4903ff42
...@@ -21,7 +21,7 @@ class Node < ActiveRecord::Base ...@@ -21,7 +21,7 @@ class Node < ActiveRecord::Base
@worksheet.rows.each do |row| @worksheet.rows.each do |row|
Node.create(name: row[AFTER_DOMAIN], domain: row[AFTER_DOMAIN], ipv4: row[BEFORE_IP], start_balance_t: row[START_AMOUNT_T], Node.create(name: row[AFTER_DOMAIN], domain: row[AFTER_DOMAIN], ipv4: row[AFTER_IP], start_balance_t: row[START_AMOUNT_T],
start_balance_z: row[START_AMOUNT_Z], node_username: row[RPC_USER], node_password: row[RPC_PASS]) start_balance_z: row[START_AMOUNT_Z], node_username: row[RPC_USER], node_password: row[RPC_PASS])
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment