ci: check format in CI pipeline #17

Merged
t.behrendt merged 2 commits from style-formatting into main 2024-12-23 19:37:47 +01:00
3 changed files with 20 additions and 22 deletions
Showing only changes of commit de4147e29d - Show all commits

View File

@@ -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
}

View File

@@ -171,8 +171,6 @@ func (i *IonosAPIImpl) SetARecord(tld string, subdomain string, ip net.IP, ttl i
return nil, errors.New("error updating record")
}
changeRecord := ChangeRecord{}
json.Unmarshal(responseBody, &changeRecord)