Skip to content

Commit

Permalink
mocks so the code builds
Browse files Browse the repository at this point in the history
  • Loading branch information
punkerpunker committed Jan 29, 2025
1 parent 818e77b commit 1c22523
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/v1/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,16 @@ func (cr *SriovIBNetwork) RenderNetAttDefWithGUID(status SriovNetworkNodeStateSt
return objs[0], nil
}

func (cr *SriovNetwork) RenderNetAttDefWithGUID(status SriovNetworkNodeStateStatus) (*uns.Unstructured, error) {
// Not implemented
return cr.RenderNetAttDef()
}

func (cr *OVSNetwork) RenderNetAttDefWithGUID(status SriovNetworkNodeStateStatus) (*uns.Unstructured, error) {
// Not implemented
return cr.RenderNetAttDef()
}

// RenderNetAttDef renders a net-att-def for ib-sriov CNI
func (cr *SriovIBNetwork) RenderNetAttDef() (*uns.Unstructured, error) {
logger := log.WithName("RenderNetAttDef")
Expand Down

0 comments on commit 1c22523

Please sign in to comment.