mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix(self-check): fail to fix
This commit is contained in:
parent
cf531e3f09
commit
1c282a57ad
3 changed files with 4 additions and 1 deletions
|
@ -16,6 +16,7 @@ func Run() (reports Reports) {
|
|||
status = ReportStatusError
|
||||
}
|
||||
reports = append(reports, &Report{
|
||||
Key: task.Key,
|
||||
Name: task.Name,
|
||||
Description: task.Description,
|
||||
Fixable: task.FixFunc != nil,
|
||||
|
|
|
@ -24,6 +24,7 @@ const (
|
|||
)
|
||||
|
||||
type Report struct {
|
||||
Key string `json:"key"`
|
||||
Name *translation.Container `json:"name"`
|
||||
Description *translation.Container `json:"description,omitempty"`
|
||||
Fixable bool `json:"fixable"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue