Merge "refectory: fix comments"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user