chore: format with golines
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I11a2f3273abf08c8cf02e0c335e26d826a6a6964
This commit is contained in:
parent
214c992494
commit
bf8390a916
5 changed files with 54 additions and 11 deletions
|
|
@ -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'")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue