Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor variable name
Browse files Browse the repository at this point in the history
yufansong committed Jan 30, 2024
1 parent 527baeb commit cc97a44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dashboard/pages/back_pressure_rates.tsx
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ interface BackPressureRateInfo {
actorId: number,
fragmentId: number,
downstreamFragmentId: number,
value: string,
backPressureRate: string,
}

function convertToMap(back_pressures: BackPressureInfo[]): Map<string, number> {
@@ -56,7 +56,7 @@ function convertFromMap(map: Map<string, string>): BackPressureRateInfo[] {
actorId,
fragmentId,
downstreamFragmentId,
value,
backPressureRate: value,
};
result.push(backPressureRateInfo);
});
@@ -118,7 +118,7 @@ export default function back_pressure() {
<Th width={3}>ActorId</Th>
<Th width={3}>FragmentId</Th>
<Th width={3}>DownStreamFragmentId</Th>
<Th width={3}>Value</Th>
<Th width={3}>Back Pressure Rate</Th>
</Tr>
</Thead>
<Tbody>
@@ -127,7 +127,7 @@ export default function back_pressure() {
<Td>{r.actorId}</Td>
<Td>{r.fragmentId}</Td>
<Td>{r.downstreamFragmentId}</Td>
<Td>{r.value}</Td>
<Td>{r.backPressureRate}</Td>
</Tr>
))}
</Tbody>

0 comments on commit cc97a44

Please sign in to comment.