style: align format to go default formatting
All checks were successful
CI / test (pull_request) Successful in 36s
All checks were successful
CI / test (pull_request) Successful in 36s
This commit is contained in:
@@ -18,8 +18,8 @@ type Config struct {
|
||||
}
|
||||
|
||||
const (
|
||||
RunOnceMode = "RunOnce"
|
||||
ScheduledMode = "Scheduled"
|
||||
RunOnceMode = "RunOnce"
|
||||
ScheduledMode = "Scheduled"
|
||||
)
|
||||
|
||||
type DomainConfig struct {
|
||||
@@ -56,7 +56,7 @@ func (c *Config) Load(filePath string) error {
|
||||
return fmt.Errorf("failed to validate config: %w", err)
|
||||
}
|
||||
|
||||
return nil;
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Config) validate() error {
|
||||
@@ -68,5 +68,5 @@ func (c *Config) validate() error {
|
||||
return errors.New("check interval must be set when mode is 'Scheduled'")
|
||||
}
|
||||
|
||||
return nil;
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user