From 6ca9568a8d3dc2791d251795ee5b649e94c2e5b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Thu, 26 Apr 2012 19:22:26 +0200
Subject: [PATCH] Don't assume that name of requested instance is same as part
 name

---
 slapos/recipe/request.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slapos/recipe/request.py b/slapos/recipe/request.py
index a80f2fd9a..966661966 100644
--- a/slapos/recipe/request.py
+++ b/slapos/recipe/request.py
@@ -73,7 +73,7 @@ class Recipe(object):
             options['config-%s' % config_parameter]
 
     self.instance = self.request(options['software-url'], software_type,
-      options.get('name', name), partition_parameter_kw=partition_parameter_kw,
+      options['name'], partition_parameter_kw=partition_parameter_kw,
       filter_kw=filter_kw, shared=self.isSlave)
 
     self.failed = None
-- 
2.30.9