Fix some typos

Change-Id: I00a38c91c6ad195b38b43da47bce2ac5bff319fe
This commit is contained in:
ericxiett 2022-01-01 09:37:54 +00:00
parent 601b8676de
commit 725c512da6
4 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ LOG = logging.getLogger(__name__)
@cyborg.privsep.sys_admin_pctxt.entrypoint
def _fpga_program_privileged(cmd_args):
# NOTE(Sundar): If we take cmd as parameter, this function can
# be abused to run abritrary commands in privileged mode. So
# be abused to run arbitrary commands in privileged mode. So
# only cmd_args are passed in.
# TODO(Sundar) Do not hardcode fpgaconf.
# Use right tool based on bitstream type.

View File

@ -59,7 +59,7 @@ class Deployable(base.APIBase):
"""The json list of attributes of the deployable"""
rp_uuid = types.uuid
"""The uuid of resouce provider which represents this deployable"""
"""The uuid of resource provider which represents this deployable"""
driver_name = wtypes.text
"""The driver name of this deployables"""

View File

@ -11,7 +11,7 @@
# under the License.
"""
Main abstraction layer for retrieving and storing information about acclerator
Main abstraction layer for retrieving and storing information about accelerator
images used by the cyborg agent layer.
"""
@ -24,7 +24,7 @@ LOG = log.getLogger(__name__)
class API(object):
"""Responsible for exposing a relatively stable internal API for other
modules in Cyborg to retrieve information about acclerator images.
modules in Cyborg to retrieve information about accelerator images.
"""
def _get_session_and_image_id(self, context, id_or_uri):

View File

@ -31,7 +31,7 @@ class ExtARQJobMixin(object):
"""Mixin Class for ExtARQ async job management."""
def _bind_job(self, context, deployable):
"""The bind process of an acclerator."""
"""The bind process of an accelerator."""
check_extra_job = getattr(self, "_need_extra_bind_job", None)
need_job = False
if check_extra_job: