Skip to content

Commit

Permalink
fix(cluster): fix cronhpa edit problem (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyingsong committed Oct 11, 2020
1 parent ebab1d7 commit c41fbab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const KindsMap = {
const ResourceTypeMap = {
Deployment: 'deployments',
StatefulSet: 'statefulsets',
Tapp: 'tapps'
TApp: 'tapps'
};

/**
Expand Down Expand Up @@ -437,6 +437,8 @@ const Hpa = React.memo((props: {
<Controller
as={
<InputNumber
step={1}
min={0}
unit={t('个实例')}
className={errors.strategy && errors.strategy[index] && errors.strategy[index].value ? 'is-error' : ''}
/>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const KindsMap = {
const ResourceTypeMap = {
Deployment: 'deployments',
StatefulSet: 'statefulsets',
Tapp: 'tapps'
TApp: 'tapps'
};

/**
Expand Down

0 comments on commit c41fbab

Please sign in to comment.