Add container dir to oci
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
ac1340488d
commit
764f02ca11
3 changed files with 19 additions and 7 deletions
|
@ -15,8 +15,8 @@ type Server struct {
|
|||
}
|
||||
|
||||
// New creates a new Server with options provided
|
||||
func New(runtimePath, sandboxDir string) (*Server, error) {
|
||||
r, err := oci.New(runtimePath, sandboxDir)
|
||||
func New(runtimePath, sandboxDir, containerDir string) (*Server, error) {
|
||||
r, err := oci.New(runtimePath, sandboxDir, containerDir)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue