Merge "Add i18n translation to guestagent datastore 1/5"

This commit is contained in:
Jenkins 2017-01-31 03:50:56 +00:00 committed by Gerrit Code Review
commit 61ccfc5bef
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class CouchbaseApp(object):
LOG.info(_('Couchbase Server initial setup finished.'))
except exception.ProcessExecutionError:
LOG.exception(_('Error performing initial Couchbase setup.'))
raise RuntimeError("Couchbase Server initial setup failed")
raise RuntimeError(_("Couchbase Server initial setup failed"))
def _install_couchbase(self, packages):
"""
@ -130,7 +130,7 @@ class CouchbaseApp(object):
if self.status.is_running:
LOG.error(_("Cannot start Couchbase with configuration changes. "
"Couchbase state == %s.") % self.status)
raise RuntimeError("Couchbase is not stopped.")
raise RuntimeError(_("Couchbase is not stopped."))
self._write_config(config_contents)
self.start_db(True)