Skip to content

Commit

Permalink
fix: FIx the values of CPU and Memory in HPA are integer types
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonliu5 committed Jul 10, 2020
1 parent 14a246d commit f0abfed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/projects/components/Modals/HPA/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export default class HPAModal extends React.Component {
>
<NumberInput
name="metadata.annotations.cpuTargetUtilization"
interger
min={0}
max={100}
/>
Expand All @@ -184,6 +185,7 @@ export default class HPAModal extends React.Component {
>
<NumberInput
name="metadata.annotations.memoryTargetValue"
interger
unit="Mi"
min={0}
defaultValue={0}
Expand Down

0 comments on commit f0abfed

Please sign in to comment.