1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 07:30:42 +00:00

Increase the loggings for service failures at boot time

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-11 20:43:00 +10:00
parent 3b4d73e106
commit 47261eab01
2 changed files with 16 additions and 9 deletions

View File

@@ -93,10 +93,10 @@ func loadFromNetwork(location string) ([]byte, error) {
updateDNSCache()
var resp *http.Response
log.Infof("LoadFromNetwork(%s)", location)
log.Debugf("LoadFromNetwork(%s)", location)
resp, err = http.Get(location)
log.Debugf("LoadFromNetwork(%s) returned %v", resp)
log.Debugf("LoadFromNetwork(%s) error %v", err)
log.Debugf("LoadFromNetwork(%s) returned %v", location, resp)
log.Debugf("LoadFromNetwork(%s) error %v", location, err)
if err == nil {
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {