Merge pull request #1100 from crosbymichael/update-task

Implement task update
This commit is contained in:
Derek McGowan
2017-06-27 14:39:45 -07:00
committed by GitHub
15 changed files with 749 additions and 152 deletions

View File

@@ -214,6 +214,10 @@ func (c *container) DeleteProcess(ctx context.Context, pid uint32) (*plugin.Exit
}, nil
}
func (c *container) Update(ctx context.Context, spec []byte) error {
return fmt.Errorf("Windows containers do not support update")
}
func (c *container) setStatus(status plugin.Status) {
c.Lock()
c.status = status