Skip to content

Commit

Permalink
remove deprecated raw ondatra client usage
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmasi committed Sep 13, 2023
1 parent 29aaf69 commit a921071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudbuild/vendors/vendors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func testGNMI(t *testing.T, dut *ondatra.DUTDevice) {

func testGRIBI(t *testing.T, dut *ondatra.DUTDevice) {
t.Helper()
c := dut.RawAPIs().GRIBI().New(t)
c := dut.RawAPIs().GRIBI(t)
req := &gribipb.GetRequest{
NetworkInstance: &gribipb.GetRequest_All{},
Aft: gribipb.AFTType_ALL,
Expand Down Expand Up @@ -57,7 +57,7 @@ func testGNOI(t *testing.T, dut *ondatra.DUTDevice) {

func testP4RT(t *testing.T, dut *ondatra.DUTDevice) {
t.Helper()
c := dut.RawAPIs().P4RT().New(t)
c := dut.RawAPIs().P4RT(t)
resp, err := c.Capabilities(context.Background(), &p4pb.CapabilitiesRequest{})
if err != nil {
t.Fatalf("P4RT failure: Capabilities request failed: %v", err)
Expand Down

0 comments on commit a921071

Please sign in to comment.