mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Fix compilation failure in dockershim for windows
This commit is contained in:
parent
f52615894f
commit
3962b5dccf
@ -64,11 +64,11 @@ func (ds *dockerService) updateCreateConfig(
|
||||
|
||||
func (ds *dockerService) determinePodIPBySandboxID(sandboxID string) string {
|
||||
opts := dockertypes.ContainerListOptions{
|
||||
All: true,
|
||||
Filter: dockerfilters.NewArgs(),
|
||||
All: true,
|
||||
Filters: dockerfilters.NewArgs(),
|
||||
}
|
||||
|
||||
f := newDockerFilter(&opts.Filter)
|
||||
f := newDockerFilter(&opts.Filters)
|
||||
f.AddLabel(containerTypeLabelKey, containerTypeLabelContainer)
|
||||
f.AddLabel(sandboxIDLabelKey, sandboxID)
|
||||
containers, err := ds.client.ListContainers(opts)
|
||||
|
Loading…
Reference in New Issue
Block a user