Commit f492337
committed
fix: resolve clippy too_many_arguments warnings in connectivity modules
- Add ConnectivityOperationParams struct to group common parameters
- Refactor all VPC Peering, PSC, and TGW functions to use the new struct
- Update all function call sites to use the parameter struct
- Remove unused AsyncOperationArgs imports
- Reduces function parameters from 8-10 down to 2-4 arguments1 parent 2b8c0b2 commit f492337
File tree
4 files changed
+351
-497
lines changed- crates/redisctl/src/commands/cloud/connectivity
4 files changed
+351
-497
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
| |||
0 commit comments