Fix compilation failure in dockershim for windows

This commit is contained in:
Jeff Grafton 2017-07-14 18:15:26 -07:00
parent f52615894f
commit 3962b5dccf

View File

@ -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)