Commit 3962b5dc authored by Jeff Grafton's avatar Jeff Grafton

Fix compilation failure in dockershim for windows

parent f5261589
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment