This commit is contained in:
loganhz 2019-08-02 06:18:36 +08:00
parent 95a0ea5bbe
commit 42b29dfa40
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ export default Component.extend({
translationKey: `formPorts.kind.LoadBalancerDisbaled`,
disabled: true
})
} if (get(this, 'scope.currentCluster.isWindows') && k === 'HostPort') {
} else if (get(this, 'scope.currentCluster.isWindows') && k === 'HostPort') {
setProperties(out, {
translationKey: `formPorts.kind.HostPortDisbaled`,
disabled: true