mirror of
https://github.com/rancher/os.git
synced 2025-09-17 23:48:09 +00:00
ros list shows all the active services and any cache available updates
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -328,7 +328,8 @@ func isCompose(content string) bool {
|
||||
return strings.HasPrefix(content, "#compose\n")
|
||||
}
|
||||
|
||||
func composeToCloudConfig(bytes []byte) ([]byte, error) {
|
||||
//TODO: move to config?
|
||||
func ComposeToCloudConfig(bytes []byte) ([]byte, error) {
|
||||
compose := make(map[interface{}]interface{})
|
||||
err := yaml.Unmarshal(bytes, &compose)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user