Rename Image to CheckpointPath in shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -235,7 +235,7 @@ func (p *initProcess) Checkpoint(context context.Context, r *shimapi.CheckpointR
|
||||
defer os.RemoveAll(work)
|
||||
if err := p.runc.Checkpoint(context, p.id, &runc.CheckpointOpts{
|
||||
WorkDir: work,
|
||||
ImagePath: r.Image,
|
||||
ImagePath: r.CheckpointPath,
|
||||
AllowOpenTCP: r.AllowTcp,
|
||||
AllowExternalUnixSockets: r.AllowUnixSockets,
|
||||
AllowTerminal: r.AllowTerminal,
|
||||
|
@@ -159,7 +159,7 @@ func (c *Task) Checkpoint(ctx context.Context, opts plugin.CheckpointOpts) error
|
||||
AllowTerminal: opts.AllowTerminal,
|
||||
FileLocks: opts.FileLocks,
|
||||
EmptyNamespaces: opts.EmptyNamespaces,
|
||||
Image: opts.Path,
|
||||
CheckpointPath: opts.Path,
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user