-
Notifications
You must be signed in to change notification settings - Fork 694
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Reduce code duplicacy in chaos-workflow package (#4010)
* feat: helper to update manifest labels Signed-off-by: SohamRatnaparkhi <[email protected]> * refractor: use to update manifest labels helper Signed-off-by: SohamRatnaparkhi <[email protected]> * feat: helper to generate weights from manifests Signed-off-by: SohamRatnaparkhi <[email protected]> * refractor: use helper function to generate weights Signed-off-by: SohamRatnaparkhi <[email protected]> * refractor: update fault weight function name Signed-off-by: SohamRatnaparkhi <[email protected]> * fix: set fault weights to manifest Signed-off-by: SohamRatnaparkhi <[email protected]> * fix: return error as well Co-authored-by: Amit Kumar Das <[email protected]> Signed-off-by: SohamRatnaparkhi <[email protected]> * refractor: simplify manifest lables update logic Signed-off-by: SohamRatnaparkhi <[email protected]> * fix: manifest labels update logic Signed-off-by: SohamRatnaparkhi <[email protected]> * refractor: remove unused labels variable from generateFualtWeights() Signed-off-by: SohamRatnaparkhi <[email protected]> * refractor: use update manifest function in cronworkflow Signed-off-by: SohamRatnaparkhi <[email protected]> --------- Signed-off-by: SohamRatnaparkhi <[email protected]> Co-authored-by: Amit Kumar Das <[email protected]>
- Loading branch information
1 parent
adf92ba
commit fdf5113
Showing
1 changed file
with
54 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters