1
0
mirror of https://github.com/rancher/os.git synced 2025-07-15 23:55:51 +00:00

Change log level

This commit is contained in:
Darren Shepherd 2015-04-17 06:31:38 -07:00
parent 1075d5b30c
commit 7996c6b656

View File

@ -258,9 +258,9 @@ func LoadResource(location string, network bool, urls []string) ([]byte, error)
} else if len(location) > 0 {
for _, url := range urls {
ymlUrl := fmt.Sprintf("%s/%s/%s.yml", url, location[0:1], location)
log.Infof("Loading %s from %s", location, ymlUrl)
bytes, err = LoadResource(ymlUrl, network, []string{})
if err == nil {
log.Debugf("Loaded %s from %s", location, ymlUrl)
return bytes, nil
}
}