Skip to content

Commit

Permalink
Upstream API changes on master branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Roque Marques committed Nov 2, 2015
1 parent 2d23850 commit 628316d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/network/opencontrail/controller_dispatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func IgnorePod(pod *api.Pod) bool {
return true
}

if value, ok := pod.Annotations[kubetypes.ConfigMirrorAnnotationKey]; ok && value == kubetypes.MirrorType {
if _, ok := pod.Annotations[kubetypes.ConfigMirrorAnnotationKey]; ok {
return true
}
return false
Expand Down
4 changes: 2 additions & 2 deletions pkg/network/opencontrail/mocks/KubePodInterface.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ func (m *KubePodInterface) Update(pod *api.Pod) (*api.Pod, error) {

return r0, r1
}
func (m *KubePodInterface) Watch(label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error) {
ret := m.Called(label, field, resourceVersion)
func (m *KubePodInterface) Watch(label labels.Selector, field fields.Selector, opts api.ListOptions) (watch.Interface, error) {
ret := m.Called(label, field, opts)

r0 := ret.Get(0).(watch.Interface)
r1 := ret.Error(1)
Expand Down
4 changes: 2 additions & 2 deletions pkg/network/opencontrail/mocks/KubeServiceInterface.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func (m *KubeServiceInterface) Delete(name string) error {

return r0
}
func (m *KubeServiceInterface) Watch(label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error) {
ret := m.Called(label, field, resourceVersion)
func (m *KubeServiceInterface) Watch(label labels.Selector, field fields.Selector, opts api.ListOptions) (watch.Interface, error) {
ret := m.Called(label, field, opts)

r0 := ret.Get(0).(watch.Interface)
r1 := ret.Error(1)
Expand Down

0 comments on commit 628316d

Please sign in to comment.