mirror of
https://github.com/rancher/os.git
synced 2025-07-16 16:11:03 +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 {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user