diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-08-08 15:15:02 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-19 15:49:03 +0000 |
commit | 3e0f8d32ffaec34fddc7feedd7ec1ea2fe1bac94 (patch) | |
tree | b0f399ce7d136ed77658063d4b0fe93fe5c5478b /scripts | |
parent | 823575a89085aedcb20b95d31005d19edb10e776 (diff) | |
download | infrastructure-3e0f8d32ffaec34fddc7feedd7ec1ea2fe1bac94.tar.gz |
Rename Instance -> DeployedSystemInstance
This name requires less context to understand its use.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release-test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/release-test b/scripts/release-test index 1939a0d4..5ea82fa3 100755 --- a/scripts/release-test +++ b/scripts/release-test @@ -97,7 +97,7 @@ class VMHost(object): self.runcmd(['virsh', '-c', 'qemu:///system'] + list(args), **kwargs) -class Instance(object): +class DeployedSystemInstance(object): def __init__(self, deployment, config, host_machine, vm_id, rootfs_path): self.deployment = deployment @@ -250,7 +250,8 @@ class Deployment(object): config = dict(self.deployment_config) config.update(options) - return Instance(self, config, self.host_machine, vm_id, rootpath) + return DeployedSystemInstance(self, config, self.host_machine, + vm_id, rootpath) finally: shutil.rmtree(tempdir) |