summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor McCasland <TM2086@att.com>2016-12-05 08:13:36 -0600
committeramrith <amrith.kumar@gmail.com>2017-01-29 03:03:36 +0000
commit7df52d105e7f02443f97cbb39b18f0c829368e15 (patch)
tree870623a2f2d190a9c3b1f9abac8fa2a1363846de
parent4f9c538f682c0f7234110ec5d1abe933e4ab5bde (diff)
downloadtrove-7df52d105e7f02443f97cbb39b18f0c829368e15.tar.gz
Add i18n translation to guestagent datastore 1/5
This is patch 1 of 5 that add i18n translation to the guestagent/datastore directory Custom hacking rules will be added later to enforce the style . Change-Id: Ic8664bf105d601909c6efa5cf73db6c27adaf42e Depends-On: I6fb2bdcc4b83457e08b24599fb4a297ef6ec6c14
-rw-r--r--trove/guestagent/datastore/experimental/couchbase/service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/trove/guestagent/datastore/experimental/couchbase/service.py b/trove/guestagent/datastore/experimental/couchbase/service.py
index 0ad3368c..be5cfaf8 100644
--- a/trove/guestagent/datastore/experimental/couchbase/service.py
+++ b/trove/guestagent/datastore/experimental/couchbase/service.py
@@ -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)