Added a fix for Cinder GCE to run on stable/newton and master branch

Files modified:
- cinder/volume/drivers/gce/driver.py
- cinder/volume/drivers/gce/gceutils.py

Change-Id: Ia897d7d8a69ef85bae2f98477de27566b87b1e5c
This commit is contained in:
Pratik Shah 2017-06-23 18:56:05 +05:30
parent 699caafaa0
commit d86cd042c3
2 changed files with 4 additions and 2 deletions

View File

@ -14,12 +14,13 @@
from oslo_log import log as logging
from cinder.i18n import _LI
from cinder.i18n import _translators
from cinder.volume.driver import BaseVD
from cinder.volume.drivers.gce import gceconf
from cinder.volume.drivers.gce import gceutils
LOG = logging.getLogger(__name__)
_LI = _translators.log_info
class GceDriver(BaseVD):

View File

@ -18,11 +18,12 @@ from googleapiclient.discovery import build
from oauth2client.client import GoogleCredentials
from oslo_log import log as logging
from cinder.i18n import _LI, _
from cinder.i18n import _translators, _
from oslo_service import loopingcall
from oslo_utils import reflection
LOG = logging.getLogger(__name__)
_LI = _translators.log_info
class GceOperationError(Exception):