refectory: fix comments

- comments that did not match the parameter names have been corrected.
- parameter information included in parameters but remaining in comments has been deleted.

Change-Id: I6bbaaae697f1be560897c7d99234f1e23e710143
Signed-off-by: Youngjun <yj.yoo@okestro.com>
This commit is contained in:
Youngjun
2024-03-12 14:52:36 +09:00
parent 309ca3aec2
commit 2862eaef08
5 changed files with 2 additions and 6 deletions
@@ -52,7 +52,7 @@ class _CopyImage(task.Task):
def _execute(self, action):
"""Create temp file into store and return path to it
:param image_id: Glance Image ID
:param action: Action wrapper
"""
# NOTE (abhishekk): If ``all_stores_must_succeed`` is set to True
# and copying task fails then we keep data in staging area as it
@@ -40,7 +40,6 @@ class _WebDownload(base_download.BaseDownload):
def execute(self):
"""Create temp file into store and return path to it
:param image_id: Glance Image ID
"""
# NOTE(jokke): We've decided to use staging area for this task as
# a way to expect users to configure a local store for pre-import
-2
View File
@@ -714,7 +714,6 @@ class _VerifyImageState(task.Task):
def execute(self):
"""Verify we have active image
:param image_id: Glance Image ID
"""
with self.action_wrapper as action:
if action.image_status != 'active':
@@ -773,7 +772,6 @@ class _CompleteTask(task.Task):
def execute(self):
"""Finishing the task flow
:param image_id: Glance Image ID
"""
task = script_utils.get_task(self.task_repo, self.task_id)
if task is not None:
@@ -66,7 +66,6 @@ class _InjectMetadataProperties(task.Task):
def execute(self):
"""Inject custom metadata properties to image
:param image_id: Glance Image ID
"""
user_roles = self.context.roles
ignore_user_roles = CONF.inject_metadata_properties.ignore_user_roles
+1 -1
View File
@@ -496,7 +496,7 @@ class BaseServer(metaclass=abc.ABCMeta):
Apply configuration settings
:param old_conf: Cached old configuration settings (if any)
:param has changed: callable to determine if a parameter has changed
:param has_changed: callable to determine if a parameter has changed
"""
eventlet.wsgi.MAX_HEADER_LINE = CONF.max_header_line
self.client_socket_timeout = CONF.client_socket_timeout or None