Skip to content

Commit

Permalink
Update web/ui/react-app/src/pages/serviceDiscovery/Services.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Pivotto <[email protected]>
Signed-off-by: 李国忠 <[email protected]>
  • Loading branch information
liguozhong and roidelapluie authored Oct 17, 2023
1 parent 74dfd89 commit 180a855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ui/react-app/src/pages/serviceDiscovery/Services.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const processTargets = (activeTargets: Target[], droppedTargets: DroppedT
return labels;
};

export const ServiceDiscoveryContent: FC<ServiceDiscoveryMap> = ({ scrape, alertManager }) => {
export const ServiceDiscoveryContent: FC<ServiceDiscoveryMap> = ({ scrape, alertmanager }) => {
const [activeTargetList, setActiveTargetList] = useState(scrape.activeTargets);
const [droppedTargetList, setDroppedTargetList] = useState(scrape.droppedTargets);
const [targetList, setTargetList] = useState(processSummary(scrape.activeTargets, scrape.droppedTargets));
Expand Down

0 comments on commit 180a855

Please sign in to comment.