diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-11-30 11:32:48 -0500 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-11-30 12:34:47 -0500 |
| commit | 32b1027815acc52ba2a112f65b2322164a3c781b (patch) | |
| tree | 4335fc1c62cf2388670a9a0fb37716d2db94fe72 /nova/openstack | |
| parent | b3d8a823d33a4d4e42e814d4b31cea6e6587745f (diff) | |
| download | nova-32b1027815acc52ba2a112f65b2322164a3c781b.tar.gz nova-32b1027815acc52ba2a112f65b2322164a3c781b.tar.xz nova-32b1027815acc52ba2a112f65b2322164a3c781b.zip | |
Split out part of compute's init_host.
The init_host() function in the compute manager has grown a good bit.
The amount of nesting for instance initialization was pretty deep,
making it a bit ugly. This patch splits out the code for initializing
an instance during the service initialization and puts it into its own
function, making things a bit more readable.
Change-Id: I5183baa76304bfc04af3c7347218eefbc3dc84e3
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
