Merge pull request #1221 from loadchange/issues-1007

Fix Issues #1007
This commit is contained in:
Fury Zhu 2019-05-20 19:25:23 +08:00 committed by GitHub
commit 45f01772cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 17 deletions

View File

@ -67,7 +67,7 @@ class EditInstanceDialog extends React.Component {
port,
ephemeral,
weight,
enable: enabled,
enabled,
metadata: replaceEnter(METADATA_SEPARATOR)(metadataText),
},
dataType: 'text',

View File

@ -26,6 +26,7 @@ class InstanceTable extends React.Component {
locale: PropTypes.object,
clusterName: PropTypes.string,
serviceName: PropTypes.string,
groupName: PropTypes.string,
};
constructor(props) {
@ -88,7 +89,7 @@ class InstanceTable extends React.Component {
port,
ephemeral,
weight,
enable: !enabled,
enabled: !enabled,
metadata: JSON.stringify(metadata),
},
dataType: 'text',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long