fix windows oci package

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin
2017-11-22 16:54:06 -05:00
parent cdf62f69a1
commit a21a19a658
3 changed files with 12 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ import (
// WithResources sets the provided resources on the spec for task updates
func WithResources(resources *specs.WindowsResources) UpdateTaskOpts {
return func(ctx context.Context, client Client, r *UpdateTaskInfo) error {
return func(ctx context.Context, client *Client, r *UpdateTaskInfo) error {
r.Resources = resources
return nil
}