Commit 753dc621 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Antoine Catton

Honour section's name property.

(cherry picked from commit d9373539)

Conflicts:

	slapos/recipe/request.py
parent 34d40de4
......@@ -45,9 +45,6 @@ class Recipe(object):
options['computer-id'], options['partition-id'])
self.request = computer_partition.request
if 'name' not in options:
options['name'] = name
self.isSlave = False
if 'slave' in options:
self.isSlave = options['slave'].lower() in ['y', 'yes', 'true', '1']
......@@ -76,7 +73,7 @@ class Recipe(object):
options['config-%s' % config_parameter]
instance = self.request(options['software-url'], software_type,
options['name'], partition_parameter_kw=partition_parameter_kw,
options.get('name', name), partition_parameter_kw=partition_parameter_kw,
filter_kw=filter_kw, shared=self.isSlave)
self.failed = None
......
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