mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
1. 更新页面添加容器启动时间,以提示是否重启成功!
This commit is contained in:
@@ -181,7 +181,7 @@ def restart_container(request):
|
||||
update_tips = '已有新版本,请根据需要升级!'
|
||||
return render(request, 'auto_pt/restart.html',
|
||||
context={
|
||||
'delta': delta.total_seconds(),
|
||||
'delta': delta.seconds,
|
||||
'local_logs': get_git_logs(),
|
||||
'update_notes': get_git_logs(master='origin/master'),
|
||||
'update': update,
|
||||
|
||||
Reference in New Issue
Block a user