Skip to content

Commit

Permalink
Generate worker name after worker deployment for caprover
Browse files Browse the repository at this point in the history
  • Loading branch information
samaradel committed Dec 30, 2024
1 parent e7834d3 commit 25e2ace
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ async function deploy(layout: any) {
layout.setStatus("success", `Successfully add a new worker to Caprover('${props.master.name}') Instance.`);
} catch (e) {
layout.setStatus("failed", normalizeError(e, "Failed to deploy a caprover worker."));
} finally {
worker.value = createWorker();
}
}
Expand Down

0 comments on commit 25e2ace

Please sign in to comment.