[ARVADOS] created: fb60dbc9b79cfa8f34a10909ea0fd2a51b600ce6

Git user git at public.curoverse.com
Wed Feb 15 15:16:20 EST 2017


        at  fb60dbc9b79cfa8f34a10909ea0fd2a51b600ce6 (commit)


commit fb60dbc9b79cfa8f34a10909ea0fd2a51b600ce6
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Feb 15 15:15:09 2017 -0500

    6520: Don't ever assign compute0, start at slot 1 when assigning hostname.

diff --git a/services/api/app/models/node.rb b/services/api/app/models/node.rb
index e0cdda1..5592be8 100644
--- a/services/api/app/models/node.rb
+++ b/services/api/app/models/node.rb
@@ -102,7 +102,7 @@ class Node < ArvadosModel
 
     # Assign slot_number
     if self.slot_number.nil?
-      try_slot = 0
+      try_slot = 1
       begin
         self.slot_number = try_slot
         begin

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list