From 1656a20003ba15e68521c74f29e2d7ac3a8a0c9f Mon Sep 17 00:00:00 2001 From: wangyao Date: Wed, 7 Mar 2018 11:29:20 +0800 Subject: [PATCH] Fix annotation info error in guestagent-api Accidental discovery the inaccurate info in guestagent-api annotation about async and sync. So just correct them. Change-Id: Ic544b2e37f766b0c9c9b6d60b9cccf5275d70980 --- trove/guestagent/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trove/guestagent/api.py b/trove/guestagent/api.py index b061981378..1f4a1d30d7 100644 --- a/trove/guestagent/api.py +++ b/trove/guestagent/api.py @@ -143,7 +143,7 @@ class API(object): self._cast("create_user", version=version, users=users) def get_user(self, username, hostname): - """Make an asynchronous call to get a single database user.""" + """Make a synchronous call to get a single database user.""" LOG.debug("Getting a user %(username)s on instance %(id)s.", {'username': username, 'id': self.id}) version = self.API_BASE_VERSION @@ -189,7 +189,7 @@ class API(object): database=database) def list_users(self, limit=None, marker=None, include_marker=False): - """Make an asynchronous call to list database users.""" + """Make a synchronous call to list database users.""" LOG.debug("Listing Users for instance %s.", self.id) version = self.API_BASE_VERSION @@ -217,7 +217,7 @@ class API(object): databases=databases) def list_databases(self, limit=None, marker=None, include_marker=False): - """Make an asynchronous call to list databases.""" + """Make a synchronous call to list databases.""" LOG.debug("Listing databases for instance %s.", self.id) version = self.API_BASE_VERSION