testutil: use different containerd debug sock
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-18.09
parent
6a3e7dd030
commit
88c81ee6d5
|
@ -96,11 +96,12 @@ disabled_plugins = ["cri"]
|
|||
|
||||
[debug]
|
||||
level = "debug"
|
||||
address = %q
|
||||
|
||||
[plugins]
|
||||
[plugins.linux]
|
||||
shim = %q
|
||||
`, filepath.Join(tmpdir, "root"), filepath.Join(tmpdir, "state"), address, c.containerdShim)
|
||||
`, filepath.Join(tmpdir, "root"), filepath.Join(tmpdir, "state"), address, filepath.Join(tmpdir, "debug.sock"), c.containerdShim)
|
||||
configFile := filepath.Join(tmpdir, "config.toml")
|
||||
if err := ioutil.WriteFile(configFile, []byte(config), 0644); err != nil {
|
||||
return nil, nil, err
|
||||
|
|
Loading…
Reference in New Issue