Sandbox: Add annotations to controller CreateOptions

Following the addition of annotations to the grpc/ttrpc API surface,
follow suit with adding annotations to the controller api surface.

Signed-off-by: Danny Canter <danny@dcantah.dev>
This commit is contained in:
Danny Canter
2023-08-11 23:24:45 -07:00
parent 939ccbed42
commit def5ff3c4b
2 changed files with 13 additions and 3 deletions

View File

@@ -52,7 +52,8 @@ func (s *remoteSandboxController) Create(ctx context.Context, sandboxID string,
TypeUrl: options.Options.GetTypeUrl(),
Value: options.Options.GetValue(),
},
NetnsPath: options.NetNSPath,
NetnsPath: options.NetNSPath,
Annotations: options.Annotations,
})
if err != nil {
return errdefs.FromGRPC(err)