mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
dms terminates instance if id matches
This commit is contained in:
parent
b220cffcf4
commit
9ec1373d36
@ -59,7 +59,7 @@ class Rackspace(object):
|
|||||||
self.rksp.set_region(self.region)
|
self.rksp.set_region(self.region)
|
||||||
for server in self.rksp.list_instances():
|
for server in self.rksp.list_instances():
|
||||||
log.debug("Checking server: %s" % (server.name))
|
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("Found matching instance: %s" % (server.id))
|
||||||
log.info("Startup id: %s" % (self.instance_id))
|
log.info("Startup id: %s" % (self.instance_id))
|
||||||
return server
|
return server
|
||||||
|
Loading…
Reference in New Issue
Block a user