mirror of
https://github.com/rancher/os.git
synced 2025-09-01 23:04:41 +00:00
Make it easier to switch between Docker engines
This commit is contained in:
@@ -28,6 +28,10 @@ func GetConsoles(urls []string) ([]string, error) {
|
||||
return getServices(urls, "consoles")
|
||||
}
|
||||
|
||||
func GetEngines(urls []string) ([]string, error) {
|
||||
return getServices(urls, "engines")
|
||||
}
|
||||
|
||||
func getServices(urls []string, key string) ([]string, error) {
|
||||
result := []string{}
|
||||
|
||||
|
Reference in New Issue
Block a user