summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-06-24 04:11:55 +0100
committerandy <github@anarkystic.com>2010-06-24 04:11:55 +0100
commitbf9b83278f7b8f54f58b03b4cb0b4d0d6182f1fa (patch)
treeaca08080b23adff6ab68d7960fe95ec7553dff3c
parent5d5e460ac841763f8e8a3ebc30ecd23821d9a351 (diff)
NetworkNode doesn't exist anymore
-rwxr-xr-xbin/nova-compute10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/nova-compute b/bin/nova-compute
index bd3648d20..f89bc86b1 100755
--- a/bin/nova-compute
+++ b/bin/nova-compute
@@ -2,13 +2,13 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright [2010] [Anso Labs, LLC]
-#
+#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -17,7 +17,7 @@
"""
Twistd daemon for the nova compute nodes.
Receives messages via AMQP, manages pool of worker threads
- for async tasks.
+ for async tasks.
"""
import logging
@@ -55,7 +55,7 @@ logging.getLogger().setLevel(logging.DEBUG)
def main():
logging.warn('Starting compute node')
- n = node.NetworkNode()
+ n = node.Node()
d = n.adopt_instances()
d.addCallback(lambda x: logging.info('Adopted %d instances', x))