Skip to content
Snippets Groups Projects
Commit e3461e3e authored by Robin Leber's avatar Robin Leber
Browse files

scaling

parent 50f4cc9d
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ export const clearArchitecture = async () => { ...@@ -97,7 +97,7 @@ export const clearArchitecture = async () => {
}; };
export const scaleOut = async (id) => { export const scaleOut = async (id) => {
const requestBody = { id: id }; const requestBody = { id };
loader(true); loader(true);
await axios await axios
.post(`${SERVER_URL}/deployment/scaleOut`, requestBody) .post(`${SERVER_URL}/deployment/scaleOut`, requestBody)
......
...@@ -96,7 +96,7 @@ const handleSubmit = (node, code) => { ...@@ -96,7 +96,7 @@ const handleSubmit = (node, code) => {
code: code, code: code,
isDeployed: false, isDeployed: false,
isPaused: false, isPaused: false,
isScaled: false, isScaled: "",
}; };
createCustomCode(requestBody); createCustomCode(requestBody);
node.style.visibility = "hidden"; node.style.visibility = "hidden";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment