|
@@ -1081,7 +1081,7 @@ func (daemon *Daemon) setNetworkNamespaceKey(containerID string, pid int) error
|
|
|
search := libnetwork.SandboxContainerWalker(&sandbox, containerID)
|
|
|
daemon.netController.WalkSandboxes(search)
|
|
|
if sandbox == nil {
|
|
|
- return derr.ErrorCodeNoSandbox.WithArgs(containerID)
|
|
|
+ return derr.ErrorCodeNoSandbox.WithArgs(containerID, "no sandbox found")
|
|
|
}
|
|
|
|
|
|
return sandbox.SetKey(path)
|