Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
install.api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Script
install.api
Commits
9a769ea8
Commit
9a769ea8
authored
Apr 08, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
只赋值code有值的数据
parent
fedf74c7
Pipeline
#22307
failed with stage
in 11 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
upgrade_service.py
app/upgrade/upgrade_service.py
+5
-4
No files found.
app/upgrade/upgrade_service.py
View file @
9a769ea8
...
...
@@ -578,6 +578,8 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym
result_dict
[
'local_name'
]
=
''
result_dict
[
'local_tag'
]
=
''
# 只赋值code有值的数据
if
result_dict
.
get
(
'code'
):
result_list
.
append
(
result_dict
)
for
filter_app
in
filter_app_list
:
...
...
@@ -600,10 +602,9 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym
result_dict
[
'local_tag'
]
=
filter_app_tag
result_dict
[
'code'
]
=
filter_app_code
if
result_dict
:
# 只赋值code有值的数据
if
result_dict
and
result_dict
.
get
(
'code'
):
result_list
.
append
(
result_dict
)
print
(
result_list
)
return
result_list
def
convert_image_info_str_to_list
(
self
,
image_info_str
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment