chore(discovery): use target.agent field for determining connection type #3833
Annotations
11 errors
|
src/app/Archives/AllTargetsArchivedRecordingsTable.tsx#L135
Property 'agent' is missing in type '{ id: any; jvmId: any; connectUrl: any; alias: any; labels: never[]; annotations: { cryostat: never[]; platform: never[]; }; }' but required in type 'Target'.
|
src/app/Archives/Archives.tsx#L36
Property 'agent' is missing in type '{ connectUrl: string; alias: string; labels: never[]; annotations: { cryostat: never[]; platform: never[]; }; }' but required in type 'Target'.
|
src/app/Archives/utils.tsx#L34
Property 'agent' is missing in type '{ connectUrl: string; alias: string; labels: never[]; annotations: { cryostat: never[]; platform: never[]; }; }' but required in type 'Target'.
|
src/app/Topology/Actions/CreateTarget.tsx#L175
Argument of type '{ connectUrl: string; alias: string; }' is not assignable to parameter of type 'TargetStub'.
|
src/app/Topology/Actions/CreateTarget.tsx#L205
Argument of type '{ connectUrl: string; alias: string; }' is not assignable to parameter of type 'TargetStub'.
|
src/app/Topology/Actions/CreateTarget.tsx#L402
Property 'agent' is missing in type '{ labels: never[]; annotations: { cryostat: never[]; platform: never[]; }; connectUrl: string; alias: string; }' but required in type 'Target'.
|
src/app/utils/fakeData.ts#L48
Property 'agent' is missing in type '{ jvmId: string; connectUrl: string; alias: string; labels: { key: string; value: string; }[]; annotations: { cryostat: { key: string; value: string; }[]; platform: never[]; }; }' but required in type 'Target'.
|
src/test/Agent/AgentLiveProbes.test.tsx#L86
Argument of type 'Observable<{ connectUrl: string; alias: string; jvmId: string; labels: never[]; annotations: { cryostat: never[]; platform: never[]; }; }>' is not assignable to parameter of type 'Observable<NullableTarget>'.
|
src/test/Archives/AllTargetsArchivedRecordingsTable.test.tsx#L26
Property 'agent' is missing in type '{ jvmId: string; connectUrl: string; alias: string; labels: never[]; annotations: { cryostat: never[]; platform: never[]; }; }' but required in type 'Target'.
|
src/test/Archives/AllTargetsArchivedRecordingsTable.test.tsx#L38
Property 'agent' is missing in type '{ jvmId: string; connectUrl: string; alias: string; labels: never[]; annotations: { cryostat: never[]; platform: never[]; }; }' but required in type 'Target'.
|
This job failed
Loading