File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,10 @@ export class Fetcher extends ADCSDK.backend.BackendEventSource {
6262 return from (
6363 this . client . get < typing . ListResponse < typing . Upstream > > (
6464 `/apisix/admin/services/${ service . id } /upstreams` ,
65- { params : { gateway_group_id : this . opts . gatewayGroupId } } ,
65+ {
66+ params : { gateway_group_id : this . opts . gatewayGroupId } ,
67+ validateStatus : ( ) => true ,
68+ } ,
6669 ) ,
6770 ) . pipe (
6871 tap ( ( resp ) =>
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ export class BackendAPI7 implements ADCSDK.Backend {
145145 core : Object . fromEntries (
146146 Object . entries ( resp . data . value ) . map (
147147 ( [ type , schema ] : [ ADCSDK . ResourceType , JSONSchema4 ] ) => {
148+ ! schema ?. type && console . log ( type , schema ) ;
148149 const data =
149150 extractObjectDefault (
150151 schema . allOf ? mergeAllOf ( schema . allOf ) : schema ,
Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ export class Operator extends ADCSDK.backend.BackendEventSource {
8484 ADCSDK . BackendSyncResult ,
8585 ObservableInput < ADCSDK . BackendSyncResult >
8686 > ( ( error : Error | AxiosError ) => {
87- console . log ( error ) ;
8887 if ( opts . exitOnFailure )
8988 throw new Error (
9089 `Error: ${ axios . isAxiosError ( error ) && error . response ? error . response . data ?. error_msg : error . message } , ` ,
You can’t perform that action at this time.
0 commit comments