Ver Fonte

fix: typo error

Jacky há 7 meses atrás
pai
commit
b64f71e13a
1 ficheiros alterados com 6 adições e 6 exclusões
  1. 6 6
      settings/logrotate.go

+ 6 - 6
settings/logrotate.go

@@ -1,13 +1,13 @@
 package settings
 
 type Logrotate struct {
-	Enabled  bool   `json:"enabled"`
-	CMD      string `json:"cmd" protect:"true"`
-	Interval int    `json:"interval"`
+    Enabled  bool   `json:"enabled"`
+    CMD      string `json:"cmd" protected:"true"`
+    Interval int    `json:"interval"`
 }
 
 var LogrotateSettings = Logrotate{
-	Enabled:  false,
-	CMD:      "logrotate /etc/logrotate.d/nginx",
-	Interval: 1440, // 24 hours
+    Enabled:  false,
+    CMD:      "logrotate /etc/logrotate.d/nginx",
+    Interval: 1440, // 24 hours
 }