Fix edit cluster use error data
This commit is contained in:
parent
3cfa183400
commit
4096026048
@ -106,7 +106,7 @@ class EditClusterDialog extends React.Component {
|
||||
const {
|
||||
healthChecker = {},
|
||||
useIPPort4Check,
|
||||
defCkport = '80',
|
||||
defaultCheckPort = '80',
|
||||
metadataText = '',
|
||||
} = editCluster;
|
||||
const { type, path, headers } = healthChecker;
|
||||
@ -139,8 +139,8 @@ class EditClusterDialog extends React.Component {
|
||||
<Form.Item label={`${checkPort}:`}>
|
||||
<Input
|
||||
className="in-text"
|
||||
value={defCkport}
|
||||
onChange={defCkport => this.onChangeCluster({ defCkport })}
|
||||
value={defaultCheckPort}
|
||||
onChange={defaultCheckPort => this.onChangeCluster({ defaultCheckPort })}
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item label={`${useIpPortCheck}:`}>
|
||||
|
Loading…
Reference in New Issue
Block a user