Skip to content

Commit

Permalink
Merge pull request #1742 from kiashok/pass-windows-container-resources
Browse files Browse the repository at this point in the history
Pass WindowsContainerResources in UpdateContainerResources call
  • Loading branch information
k8s-ci-robot authored Jan 20, 2025
2 parents 9bfb2ae + 80a8cdc commit d6a1fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crictl/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ func UpdateContainerResources(client internalapi.RuntimeService, id string, opts
}
}
logrus.Debugf("UpdateContainerResourcesRequest: %v", request)
resources := &pb.ContainerResources{Linux: request.Linux}
resources := &pb.ContainerResources{Linux: request.Linux, Windows: request.Windows}
if _, err := InterruptableRPC(nil, func(ctx context.Context) (any, error) {
return nil, client.UpdateContainerResources(ctx, id, resources)
}); err != nil {
Expand Down

0 comments on commit d6a1fd1

Please sign in to comment.