Comment 2 for bug 1949478

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to distcloud (master)

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/816536
Committed: https://opendev.org/starlingx/distcloud/commit/952ad5fc7b75df4f51c7f603d3e3c6bcd071af0e
Submitter: "Zuul (22348)"
Branch: master

commit 952ad5fc7b75df4f51c7f603d3e3c6bcd071af0e
Author: Jessica Castelino <email address hidden>
Date: Mon Nov 1 09:53:00 2021 -0400

    Raise exception when a strategy is created with no steps

    It is possible for a user to create and apply a strategy with no
    strategy steps. This commit raises an exception in such a scenario
    to make it more intuitive and user friendly.

    Additionally, this commit also fixes the stage numbering.

    Test Plan:
    1) Strategy raises exception when there are no steps
    2) Strategy numbering starts with 1 for all type of strategies

    Change-Id: I2b9c0a757129aa165512718cb93ccdf31d1b69dc
    Signed-off-by: Jessica Castelino <email address hidden>
    Closes-Bug: 1949478