We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d116a2 commit 7f3bf07Copy full SHA for 7f3bf07
cns/restserver/internalapi_test.go
@@ -573,9 +573,7 @@ func TestSyncHostNCVersionNMAgentAPICallFailed(t *testing.T) {
573
}, nil
574
},
575
SupportedAPIsF: func(_ context.Context) ([]string, error) {
576
- // NMAgent SupportedAPIs call fails
577
- var errNMAgentAPI = errors.New("failed to connect to NMAgent API endpoint")
578
- return nil, fmt.Errorf("%w", errNMAgentAPI)
+ return nil, errors.New("failed to connect to NMAgent API endpoint")
579
580
}
581
cleanup := setMockNMAgent(svc, mnma)
0 commit comments