Remove unnecessary blank lines

This commit is contained in:
TwinProduction 2020-12-29 17:30:01 -05:00
parent bbf39e70fd
commit a83f6c7619

View File

@ -112,12 +112,10 @@ func (service *Service) ValidateAndSetDefaults() {
if len(service.Conditions) == 0 {
panic(ErrServiceWithNoCondition)
}
if service.DNS != nil {
service.DNS.validateAndSetDefault()
return
}
// Make sure that the request can be created
_, err := http.NewRequest(service.Method, service.URL, bytes.NewBuffer([]byte(service.Body)))
if err != nil {