mirror of
https://github.com/rancher/os.git
synced 2025-07-07 20:08:37 +00:00
Merge pull request #330 from ibuildthecloud/empty-slice
Return result instead of empty slice
This commit is contained in:
commit
1bcc9791a2
@ -252,7 +252,7 @@ func GetServices(urls []string) ([]string, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return []string{}, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func LoadResource(location string, network bool, urls []string) ([]byte, error) {
|
func LoadResource(location string, network bool, urls []string) ([]byte, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user