mirror of
https://github.com/docker/cli.git
synced 2026-01-23 15:21:32 +03:00
bump kubernetes to v1.14.0
bump required: - replacing vendor ghodss/yaml with sigs.k8s.io/yaml - adding vendor k8s.io/klog and github.com/evanphx - compose-on-kubernetes removed 'IncludeUninitialized' from watch as it have been removed from k8s Signed-off-by: Nick Adcock <nick.adcock@docker.com>
This commit is contained in:
@@ -220,13 +220,11 @@ func newPodInformer(podsClient podListWatch, stackName string, indexers cache.In
|
||||
&cache.ListWatch{
|
||||
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
|
||||
options.LabelSelector = labels.SelectorForStack(stackName)
|
||||
options.IncludeUninitialized = true
|
||||
return podsClient.List(options)
|
||||
},
|
||||
|
||||
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
|
||||
options.LabelSelector = labels.SelectorForStack(stackName)
|
||||
options.IncludeUninitialized = true
|
||||
return podsClient.Watch(options)
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user