From 2a47af31cd5feecb75fa0bac0086482c8bfd81ac Mon Sep 17 00:00:00 2001 From: Olivier Cazade Date: Wed, 26 Apr 2023 14:01:56 +0200 Subject: [PATCH] Update tooltip after change in CRD (#323) --- web/locales/en/plugin__netobserv-plugin.json | 4 ++-- web/src/components/dropdowns/query-options-dropdown.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/locales/en/plugin__netobserv-plugin.json b/web/locales/en/plugin__netobserv-plugin.json index 39e67a8e8..312506712 100644 --- a/web/locales/en/plugin__netobserv-plugin.json +++ b/web/locales/en/plugin__netobserv-plugin.json @@ -40,8 +40,8 @@ "Match any": "Match any", "Log type to query. A conversation is an aggregation of flows between same peers. Only ended conversations will appear in Overview and Topology tabs.": "Log type to query. A conversation is an aggregation of flows between same peers. Only ended conversations will appear in Overview and Topology tabs.", "Log type": "Log type", - "Only available when FlowCollector.processor.outputRecordTypes option equals \"CONNECTIONS\", \"ENDED_CONNECTIONS\" or \"ALL\"": "Only available when FlowCollector.processor.outputRecordTypes option equals \"CONNECTIONS\", \"ENDED_CONNECTIONS\" or \"ALL\"", - "Only available when FlowCollector.processor.outputRecordTypes option equals \"FLOWS\" or \"ALL\"": "Only available when FlowCollector.processor.outputRecordTypes option equals \"FLOWS\" or \"ALL\"", + "Only available when FlowCollector.processor.logTypes option equals \"CONNECTIONS\", \"ENDED_CONNECTIONS\" or \"ALL\"": "Only available when FlowCollector.processor.logTypes option equals \"CONNECTIONS\", \"ENDED_CONNECTIONS\" or \"ALL\"", + "Only available when FlowCollector.processor.logTypes option equals \"FLOWS\" or \"ALL\"": "Only available when FlowCollector.processor.logTypes option equals \"FLOWS\" or \"ALL\"", "Every flow can be reported from the source node and/or the destination node. For in-cluster traffic, usually both source and destination nodes report flows, resulting in duplicated data. Cluster ingress traffic is only reported by destination nodes, and cluster egress by source nodes.": "Every flow can be reported from the source node and/or the destination node. For in-cluster traffic, usually both source and destination nodes report flows, resulting in duplicated data. Cluster ingress traffic is only reported by destination nodes, and cluster egress by source nodes.", "Reporter node": "Reporter node", "Only available using \"Flow\" log type. This option will be ignored for \"Conversation\".": "Only available using \"Flow\" log type. This option will be ignored for \"Conversation\".", diff --git a/web/src/components/dropdowns/query-options-dropdown.tsx b/web/src/components/dropdowns/query-options-dropdown.tsx index 6d95d1fe2..1d76bfb72 100644 --- a/web/src/components/dropdowns/query-options-dropdown.tsx +++ b/web/src/components/dropdowns/query-options-dropdown.tsx @@ -111,11 +111,11 @@ export const QueryOptionsPanel: React.FC = ({ ? opt.value === 'allConnections' ? t( // eslint-disable-next-line max-len - 'Only available when FlowCollector.processor.outputRecordTypes option equals "CONNECTIONS", "ENDED_CONNECTIONS" or "ALL"' + 'Only available when FlowCollector.processor.logTypes option equals "CONNECTIONS", "ENDED_CONNECTIONS" or "ALL"' ) : t( // eslint-disable-next-line max-len - 'Only available when FlowCollector.processor.outputRecordTypes option equals "FLOWS" or "ALL"' + 'Only available when FlowCollector.processor.logTypes option equals "FLOWS" or "ALL"' ) : undefined }