Skip to content

Commit

Permalink
add missing case for config
Browse files Browse the repository at this point in the history
  • Loading branch information
clauyan committed Nov 19, 2024
1 parent 52d0954 commit bc778f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loadtest/util/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export function getConfig(): CONFIG {
if (config == CONFIG.SPIKE.toString()) return CONFIG.SPIKE;
if (config == CONFIG.STRESS.toString()) return CONFIG.STRESS;
if (config == CONFIG.BREAKPOINT.toString()) return CONFIG.BREAKPOINT;
if (config == CONFIG.PLATEAU.toString()) return CONFIG.PLATEAU;
if (config == CONFIG.DEBUG.toString()) return CONFIG.DEBUG;
throw Error(`Invalid value for config '${config}'`);
}
Expand Down

0 comments on commit bc778f6

Please sign in to comment.