Commit 296026e
refactor: rename RouteTargetStatuses.traffic_status to traffic
The dataclass field shares its name with ``RoutingRow.traffic_status``
(the SQL column) and ``RouteBatchUpdaterSpec.traffic_status`` (a writer
field) — both unrelated. Shorten to ``traffic`` so the call site reads
as a target filter axis next to ``lifecycle`` and ``health`` instead of
echoing the column name.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 23e8df2 commit 296026e
5 files changed
Lines changed: 10 additions & 10 deletions
File tree
- src/ai/backend/manager
- data/deployment
- repositories/deployment
- db_source
- sokovan/deployment/route/handlers
- tests/unit/manager/repositories/deployment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
| 255 | + | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1619 | 1619 | | |
1620 | 1620 | | |
1621 | 1621 | | |
1622 | | - | |
| 1622 | + | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | 1625 | | |
| |||
1643 | 1643 | | |
1644 | 1644 | | |
1645 | 1645 | | |
1646 | | - | |
1647 | | - | |
| 1646 | + | |
| 1647 | + | |
1648 | 1648 | | |
1649 | 1649 | | |
1650 | 1650 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3955 | 3955 | | |
3956 | 3956 | | |
3957 | 3957 | | |
3958 | | - | |
| 3958 | + | |
3959 | 3959 | | |
3960 | 3960 | | |
3961 | 3961 | | |
3962 | 3962 | | |
3963 | 3963 | | |
3964 | 3964 | | |
3965 | | - | |
| 3965 | + | |
3966 | 3966 | | |
3967 | 3967 | | |
3968 | 3968 | | |
| |||
0 commit comments