Commit f2f54be
committed
refactor: replace final string comparison with type-safe enum check
- Replace container platform check string comparison with enum comparison
- Change `args.artifact_type == "container"` to `config.artifact_type == ArtifactType.CONTAINER`
- Add comprehensive test coverage for enum comparisons and value access
- Completes strangler fig migration of artifact type logic to type-safe enums
This final change eliminates the last remaining string-based artifact type
comparison in the container platform validation logic, completing the
migration to type-safe enum comparisons throughout the orchestrator.1 parent 9e83ef5 commit f2f54be
File tree
2 files changed
+14
-1
lines changed- entrypoint
- entrypoint
- tests
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
0 commit comments