comparison pkg/geoserver/boot.go @ 1325:9d1f8e99743b

Removed empty if branch.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 25 Nov 2018 10:45:52 +0100
parents 4c0c4dd393de
children 1e19184472bf
comparison
equal deleted inserted replaced
1324:19108851af13 1325:9d1f8e99743b
369 return err 369 return err
370 } 370 }
371 defer resp.Body.Close() 371 defer resp.Body.Close()
372 372
373 // Fetch all styles 373 // Fetch all styles
374 if err := json.NewDecoder(resp.Body).Decode(s); err != nil { 374 // XXX: Avoid error checking due to quirks with featuretypes.
375 // XXX: Same quirk as with featuretypes. 375 json.NewDecoder(resp.Body).Decode(s)
376 }
377 return nil 376 return nil
378 } 377 }
379 378
380 func updateStyle(entry *models.IntEntry, create bool) error { 379 func updateStyle(entry *models.IntEntry, create bool) error {
381 380