File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ class CloudServers(ConfigBuilder):
30
30
This is builder - it will insert into config multiple objects
31
31
if type CloudServer and will calculate hostname for each
32
32
'''
33
- def __init__ (self , host_name , num_servers ):
34
- super (CloudServers , self ).__init__ (host_name = host_name ,
33
+ def __init__ (self , base_host_name , num_servers ):
34
+ super (CloudServers , self ).__init__ (host_name = base_host_name ,
35
35
num_servers = num_servers )
36
36
37
37
def build (self ):
@@ -116,7 +116,7 @@ def conf(env_name):
116
116
# CloudServers is a multiconf builder - it will not be present in
117
117
# configuration. Instead there will be CloudServer objects based on
118
118
# num_servers parameter
119
- with CloudServers (host_name = 'something' , num_servers = 0 ) as cloud_servers :
119
+ with CloudServers (base_host_name = 'something' , num_servers = 0 ) as cloud_servers :
120
120
cloud_servers .setattr ('num_servers' , devlocal = 1 , dev = 2 , cloud = 4 )
121
121
122
122
# GitRepo is set to be a required element of a project
You can’t perform that action at this time.
0 commit comments