From b64f71e13afc14e2a9fd96fbcb13e72df1819b42 Mon Sep 17 00:00:00 2001 From: Jacky Date: Sat, 5 Oct 2024 20:02:15 +0800 Subject: [PATCH] fix: typo error --- settings/logrotate.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/settings/logrotate.go b/settings/logrotate.go index 7cc2c962..b3f8cc4e 100644 --- a/settings/logrotate.go +++ b/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 }