diff options
| author | Dan Prince <dprince@redhat.com> | 2012-06-11 15:08:32 -0400 |
|---|---|---|
| committer | Dan Prince <dprince@redhat.com> | 2012-06-11 15:08:32 -0400 |
| commit | f03b728989673d06f49e349a23b9ad2ffc66753e (patch) | |
| tree | 9c18bdcb35e1bcc8cc322d9356e6f28f21197a4d | |
| parent | 9072639e9440cd1b0a0c75904a13cb6a5111a0f4 (diff) | |
| download | nova-f03b728989673d06f49e349a23b9ad2ffc66753e.tar.gz nova-f03b728989673d06f49e349a23b9ad2ffc66753e.tar.xz nova-f03b728989673d06f49e349a23b9ad2ffc66753e.zip | |
Log connection_type deprecation message as WARNING
Updates the connection_type log messages to log as
a warning instead of an error.
Fixes LP Bug #1011788.
Change-Id: I4cc2d9d5fdea2c8871f760b73a905fe61edcbe8f
| -rw-r--r-- | nova/virt/connection.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nova/virt/connection.py b/nova/virt/connection.py index 8bf1ed5f5..084fa3425 100644 --- a/nova/virt/connection.py +++ b/nova/virt/connection.py @@ -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) |
