Commit 98ed0e2
authored
refactor(taosctl): dashboard uses shared positive_int validator (#1403)
Replace the dashboard group's inline _positive_int with the shared
tinyagentos/cli/taosctl/argtypes.positive_int (landed in #1401), removing the
duplicate now that both are on dev. Behaviour unchanged; --limit still rejects
non-positive values at parse time.1 parent a349e54 commit 98ed0e2
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 17 | + | |
24 | 18 | | |
25 | 19 | | |
26 | 20 | | |
| |||
47 | 41 | | |
48 | 42 | | |
49 | 43 | | |
50 | | - | |
| 44 | + | |
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
| |||
0 commit comments