refactor:修改dign_client容器中引用的配置文件和日志文件路径错误问题

This commit is contained in:
fumingwei
2021-09-02 12:24:51 +08:00
parent 6c7df0ee2c
commit 47575d9020
3 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ import argparse
def get_suite_option():
parser = argparse.ArgumentParser(description="Tsg diagnose Tools - clear tsg diagnose result file", epilog = "Example:help")
parser.add_argument('-t','--timeout', type = int, default = 604800,help='Specify the time to delete files that are not accessed in seconds ,the default is 604800 (7 days)')
parser.add_argument('-d','--dictpath', type = str, default = '/root/result_tsg_diagnose/dign_client', help='Specify the folder to delete files, the default is /root/result_tsg_diagnose/dign_client')
parser.add_argument('-d','--dictpath', type = str, default = '/opt/dign_client/log/dign_client', help='Specify the folder to delete files, the default is /opt/dign_client/log/dign_client')
args = parser.parse_args()
return args