Commit 7b224a9
committed
refactor: remove unused provider files and clean up apply selector logic
- Deleted unused provider files for Deployment, Environment, JobAgent, Policy, and System to streamline the codebase.
- Updated applySelectorToSpecs function to remove references to deleted spec types, simplifying the logic for applying metadata to ResourceItemSpec only.
- Enhanced code clarity by removing commented-out code and unnecessary cases in the switch statement.1 parent bc2a6bb commit 7b224a9
6 files changed
Lines changed: 0 additions & 1036 deletions
File tree
- cmd/ctrlc/root/apply
- internal/api/providers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
This file was deleted.
This file was deleted.
0 commit comments