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
This commit is contained in:
wangyao 2018-03-07 11:29:20 +08:00
parent f71719a0f3
commit 1656a20003
1 changed files with 3 additions and 3 deletions

View File

@ -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