diff --git a/docs/apidoc/swagger-3.0.json b/docs/apidoc/swagger-3.0.json index 97982f706..3736109d4 100644 --- a/docs/apidoc/swagger-3.0.json +++ b/docs/apidoc/swagger-3.0.json @@ -11391,9 +11391,6 @@ }, "runtimeCluster": { "type": "boolean" - }, - "runtime_cluster": { - "type": "boolean" } } }, diff --git a/docs/apidoc/swagger.json b/docs/apidoc/swagger.json index f6703fb16..de58e2e10 100644 --- a/docs/apidoc/swagger.json +++ b/docs/apidoc/swagger.json @@ -8758,9 +8758,6 @@ }, "runtimeCluster": { "type": "boolean" - }, - "runtime_cluster": { - "type": "boolean" } } }, diff --git a/packages/velaux-ui/src/pages/Cluster/index.tsx b/packages/velaux-ui/src/pages/Cluster/index.tsx index a77f80641..0e0375348 100644 --- a/packages/velaux-ui/src/pages/Cluster/index.tsx +++ b/packages/velaux-ui/src/pages/Cluster/index.tsx @@ -101,7 +101,7 @@ class Cluster extends React.Component { (enableAddon || []).forEach((ele: { name: string; phase: boolean }) => { addonList.forEach((item: Addon) => { const isMatchName = ele.name === item.name; - const deploy = item.deployTo || { runtimeCluster: false, runtime_cluster: false }; + const deploy = item.deployTo || { runtimeCluster: false }; if (isMatchName && deploy.runtimeCluster) { addonMessage.push({ name: item.name, path: item.url || '' }); }