File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -408,14 +408,14 @@ func TestNMAgentSupportedAPIs(t *testing.T) {
408408 {
409409 "empty" ,
410410 nil ,
411- "/machine/plugins/?comp=nmagent&type=network/nmagentsupportedapis " ,
411+ "/machine/plugins/?comp=nmagent&type=GetSupportedApis " ,
412412 "<SupportedAPIsResponseXML></SupportedAPIsResponseXML>" ,
413413 false ,
414414 },
415415 {
416416 "happy" ,
417417 []string {"foo" },
418- "/machine/plugins/?comp=nmagent&type=network/nmagentsupportedapis " ,
418+ "/machine/plugins/?comp=nmagent&type=GetSupportedApis " ,
419419 "<SupportedAPIsResponseXML><type>foo</type></SupportedAPIsResponseXML>" ,
420420 false ,
421421 },
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ func (s *SupportedAPIsRequest) Method() string {
302302
303303// Path returns the necessary URI path for invoking a supported APIs request.
304304func (s * SupportedAPIsRequest ) Path () string {
305- return "/network/nmagentsupportedapis "
305+ return "/GetSupportedApis "
306306}
307307
308308// Validate is a no-op method because SupportedAPIsRequests have no parameters,
You can’t perform that action at this time.
0 commit comments