Skip to content

Commit

Permalink
fix parse_env_display when env_list is None (#602)
Browse files Browse the repository at this point in the history
* support check list

* support check list

* support check list

* support check list

* support check list

* support check list

* build test package

* build test package

* update GatherComponentLogHandler

* update tar_gz_to_zip

* delete zip on gather

* delete zip on gather

* delete zip on gather

* delete zip on gather

* delete zip on gather

* gather use find to get remote log

* rca add oms_full_trans

* rca add oms_full_trans

* update

* fix core options

* add oms config

* check list add --all

* fix parse_env_display when env_list is None
  • Loading branch information
wayyoungboy authored Dec 5, 2024
1 parent 8efbb92 commit 1ac0106
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,8 @@ def parse_env(env_string, stdio=None):
@staticmethod
def parse_env_display(env_list):
env_dict = {}
if not env_list:
return {}
for env_string in env_list:
# 分割键和值
key_value = env_string.split('=', 1)
Expand Down

0 comments on commit 1ac0106

Please sign in to comment.