Skip to content

Commit

Permalink
fix ps:scale web=0
Browse files Browse the repository at this point in the history
  • Loading branch information
Filirom1 committed Dec 1, 2012
1 parent 93cd75b commit b0b784a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/openruko_api/functions/scale_instances.pgsql
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BEGIN
UPDATE instance SET retired = true
WHERE id = k_instance.id;

PERFORM stop_instance(p_app_id, v_new_instance_id);
PERFORM stop_instance(p_app_id, k_instance.id);

END LOOP;

Expand Down

0 comments on commit b0b784a

Please sign in to comment.