Skip to content

Commit

Permalink
fix(clusters): run scale workflow instead of signal (#1041)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
MasterPtato committed Aug 13, 2024
1 parent 6142837 commit cbe6f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svc/pkg/cluster/src/workflows/datacenter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub(crate) async fn cluster_datacenter(ctx: &mut WorkflowCtx, input: &Input) ->
.await?;

// Scale
ctx.signal(ctx.workflow_id(), Scale {}).await?;
ctx.workflow(scale::Input { datacenter_id }).await?;
}
Main::Scale(_) => {
ctx.workflow(scale::Input { datacenter_id }).await?;
Expand Down

0 comments on commit cbe6f89

Please sign in to comment.