From 9ec1373d36948283cceab8a340187bbbe13e75e4 Mon Sep 17 00:00:00 2001 From: Jerry Seutter Date: Mon, 24 Nov 2014 16:49:01 -0700 Subject: [PATCH] dms terminates instance if id matches --- gns3dms/modules/rackspace_cloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3dms/modules/rackspace_cloud.py b/gns3dms/modules/rackspace_cloud.py index 868f95ed..487e6f9f 100644 --- a/gns3dms/modules/rackspace_cloud.py +++ b/gns3dms/modules/rackspace_cloud.py @@ -59,7 +59,7 @@ class Rackspace(object): self.rksp.set_region(self.region) for server in self.rksp.list_instances(): log.debug("Checking server: %s" % (server.name)) - if server.name.lower() == self.hostname.lower() and server.id == self.instance_id: + if server.id == self.instance_id: log.info("Found matching instance: %s" % (server.id)) log.info("Startup id: %s" % (self.instance_id)) return server