Use oslo_messaging instead of oslo.messaging

Import oslo_messaging instead of from oslo import
messaging to make api launch correctly.

Change-Id: Icfab7187c23f75341878946c45aa2860d8f6d4d4
This commit is contained in:
Kevin_Zheng 2016-01-04 19:16:45 +08:00
parent 73a818e55f
commit a7b7c86738

View File

@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo import messaging
from oslo_config import cfg
from oslo_log import log as logging
import oslo_messaging as messaging
from oslo_messaging.rpc import client
from terracotta import exceptions as exc