Add container dir to oci

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2016-08-01 15:08:21 -07:00
parent ac1340488d
commit 764f02ca11
3 changed files with 19 additions and 7 deletions

View file

@ -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
}