sandbox: create sandbox with network namespace path
Signed-off-by: Zhang Tianyang <burning9699@gmail.com>
This commit is contained in:
@@ -50,6 +50,7 @@ func (s *remoteSandboxController) Create(ctx context.Context, sandboxID string,
|
||||
TypeUrl: options.Options.GetTypeUrl(),
|
||||
Value: options.Options.GetValue(),
|
||||
},
|
||||
NetnsPath: options.NetNSPath,
|
||||
})
|
||||
if err != nil {
|
||||
return errdefs.FromGRPC(err)
|
||||
|
||||
Reference in New Issue
Block a user