Re-enable error and warning
This commit is contained in:
parent
9d93dacf97
commit
8d838a02ea
|
@ -12,8 +12,8 @@ def repo_json(request, repo_label):
|
|||
'latest_backup': repo.last_backup(),
|
||||
'size': repo.size_string(),
|
||||
'recent_errors': "not implemented",
|
||||
'warning': True,
|
||||
'error': True}
|
||||
'warning': repo.warning(),
|
||||
'error': repo.error()}
|
||||
return JsonResponse(repo_dict)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user