From bf9b83278f7b8f54f58b03b4cb0b4d0d6182f1fa Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Thu, 24 Jun 2010 04:11:55 +0100 Subject: NetworkNode doesn't exist anymore --- bin/nova-compute | 10 +++++----- 1 file 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)) -- cgit