Skip to content

Commit

Permalink
Change dos.py slave naming to match environment expectations
Browse files Browse the repository at this point in the history
Change-Id: I6499d69f7fd8c81ccaa0f8bf8be6cc9d1438ec33
Closes-bug: #1460118
  • Loading branch information
Ryan Moe committed Jun 19, 2015
1 parent e6f74ba commit b972701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devops/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def do_slave_add(self, force_define=True):
node_count = self.params.node_count

for node in xrange(created_nodes, created_nodes + node_count):
node_name = "slave-%i" % (node)
node_name = "slave-%02d" % (node)
node = self.env.add_node(name=node_name, vcpu=vcpu, memory=memory)
disknames_capacity = {
'system': 50 * 1024 ** 3
Expand Down

0 comments on commit b972701

Please sign in to comment.