mirror of
https://github.com/rancher/os.git
synced 2025-07-17 16:41:04 +00:00
Change log level
This commit is contained in:
parent
1075d5b30c
commit
7996c6b656
@ -258,9 +258,9 @@ func LoadResource(location string, network bool, urls []string) ([]byte, error)
|
|||||||
} else if len(location) > 0 {
|
} else if len(location) > 0 {
|
||||||
for _, url := range urls {
|
for _, url := range urls {
|
||||||
ymlUrl := fmt.Sprintf("%s/%s/%s.yml", url, location[0:1], location)
|
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{})
|
bytes, err = LoadResource(ymlUrl, network, []string{})
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
log.Debugf("Loaded %s from %s", location, ymlUrl)
|
||||||
return bytes, nil
|
return bytes, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user