fix windows oci package
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user