mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Removed runconfig.ParseSubcommand
Removed runconfig.ParseSubcommand, changed it to runconfig.Parse and editted related tests and modules Signed-off-by: Oh Jinkyun <tintypemolly@gmail.com>
This commit is contained in:
parent
458b019e62
commit
9aa71549d6
8 changed files with 48 additions and 41 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
func parse(t *testing.T, args string) (*Config, *HostConfig, error) {
|
||||
config, hostConfig, _, err := Parse(strings.Split(args+" ubuntu bash", " "), nil)
|
||||
config, hostConfig, _, err := parseRun(strings.Split(args+" ubuntu bash", " "), nil)
|
||||
return config, hostConfig, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue