Skip to content

Commit

Permalink
Log connection_type deprecation message as WARNING
Browse files Browse the repository at this point in the history
Updates the connection_type log messages to log as
a warning instead of an error.

Fixes LP Bug #1011788.

Change-Id: I4cc2d9d5fdea2c8871f760b73a905fe61edcbe8f
  • Loading branch information
dprince committed Jun 11, 2012
1 parent 9072639 commit f03b728
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nova/virt/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ def get_connection(read_only=False):
* baremetal
"""
# TODO(termie): check whether we can be disconnected
# TODO(sdague): is there a better way to mark things deprecated
LOG.error(_('Specifying virt driver via connection_type is deprecated'))
LOG.warning(_('Specifying virt driver via connection_type is deprecated'))

driver_name = known_drivers.get(FLAGS.connection_type)

Expand Down

0 comments on commit f03b728

Please sign in to comment.