Skip to content

Commit

Permalink
Fix stub interface so Mac compilations work
Browse files Browse the repository at this point in the history
The stub "unsupported" interface had the wrong signature.  This
corrects it to prevent a compliation error on Macs.
  • Loading branch information
knobunc committed Jan 30, 2017
1 parent fe1f9cc commit b0d4753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sdn/plugin/pod_unsupported.go
Expand Up @@ -14,8 +14,8 @@ func (m *podManager) setup(req *cniserver.PodRequest) (*cnitypes.Result, *runnin
return nil, nil, fmt.Errorf("openshift-sdn is unsupported on this OS!")
}

func (m *podManager) update(req *cniserver.PodRequest) (*runningPod, error) {
return nil, fmt.Errorf("openshift-sdn is unsupported on this OS!")
func (m *podManager) update(req *cniserver.PodRequest) (uint32, error) {
return 0, fmt.Errorf("openshift-sdn is unsupported on this OS!")
}

// Clean up all pod networking (clear OVS flows, release IPAM lease, remove host/container veth)
Expand Down

0 comments on commit b0d4753

Please sign in to comment.