Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions app/commands/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ def file_put(**kwargs): # noqa: C901
thread = kwargs.get('thread')
output_path = kwargs.get('output_path')

# for 20230418 staging temporary disable the attribute
# since the backend is not ready yet
if source_file:
SrvErrorHandler.customized_handle(ECustomizedError.LINEAGE_FEATURE_NOT_READY, True)

user = UserConfig()
# Check zone and upload-message
zone = get_zone(zone) if zone else AppConfig.Env.green_zone.lower()
Expand Down
1 change: 0 additions & 1 deletion app/resources/custom_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,4 @@ class Error:
'CONTAINER_REGISTRY_NO_URL': (
'Container registry has not yet been configured. Related commands cannot be used at this time.'
),
'LINEAGE_FEATURE_NOT_READY': 'Lineage is not support at v2.3.0',
}
1 change: 0 additions & 1 deletion app/services/output_manager/error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class ECustomizedError(enum.Enum):
CONTAINER_REGISTRY_NO_URL = 'CONTAINER_REGISTRY_NO_URL'
CONFIG_NOT_FOUND = 'CONFIG_NOT_FOUND'
CONFIG_EXIST = 'CONFIG_EXIST'
LINEAGE_FEATURE_NOT_READY = 'LINEAGE_FEATURE_NOT_READY'


def customized_error_msg(customized_error: ECustomizedError):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "app"
version = "2.3.0"
version = "2.3.1"
description = "This service is designed to support pilot platform"
authors = ["Indoc Research"]

Expand Down