chore: format with golines

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I11a2f3273abf08c8cf02e0c335e26d826a6a6964
This commit is contained in:
raf 2026-03-01 17:16:15 +03:00
commit bf8390a916
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
5 changed files with 54 additions and 11 deletions

View file

@ -112,7 +112,8 @@ func (c *Config) Validate() error {
}
// Validate salt_rotation
if c.Site.SaltRotation != "" && c.Site.SaltRotation != "daily" && c.Site.SaltRotation != "hourly" {
if c.Site.SaltRotation != "" && c.Site.SaltRotation != "daily" &&
c.Site.SaltRotation != "hourly" {
return fmt.Errorf("site.salt_rotation must be 'daily' or 'hourly'")
}