Commit 05b0a4a
refactor(ssh): change device lookup params to modern naming
Previously, the device lookup API accepted `domain` and `name`
parameters to represent the namespace and device name, respectively.
This outdated naming caused confusion when reading and modifying the
code.
To simplify the implementation and improve readability, we’ve renamed
them to match the modern naming for these values,`namespace` and
`device`, clarifying intent throughout the codebase and avoiding
misunderstanding.
This change only affects the internal API.1 parent 0f9787d commit 05b0a4a
File tree
9 files changed
+77
-157
lines changed- api
- routes
- services/mocks
- store/mocks
- pkg/api
- internalclient
- mocks
- requests
- ssh
- session
- web/mocks
9 files changed
+77
-157
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
| 449 | + | |
| 450 | + | |
454 | 451 | | |
455 | 452 | | |
456 | 453 | | |
| |||
460 | 457 | | |
461 | 458 | | |
462 | 459 | | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
| 460 | + | |
| 461 | + | |
467 | 462 | | |
468 | 463 | | |
469 | | - | |
| 464 | + | |
470 | 465 | | |
471 | 466 | | |
472 | 467 | | |
| |||
476 | 471 | | |
477 | 472 | | |
478 | 473 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
| 474 | + | |
| 475 | + | |
483 | 476 | | |
484 | 477 | | |
485 | | - | |
| 478 | + | |
486 | 479 | | |
487 | 480 | | |
488 | 481 | | |
| |||
500 | 493 | | |
501 | 494 | | |
502 | 495 | | |
503 | | - | |
| 496 | + | |
504 | 497 | | |
505 | 498 | | |
506 | 499 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | | - | |
87 | | - | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 56 | + | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
260 | 258 | | |
261 | 259 | | |
262 | 260 | | |
263 | | - | |
| 261 | + | |
264 | 262 | | |
265 | | - | |
| 263 | + | |
266 | 264 | | |
267 | 265 | | |
268 | 266 | | |
| |||
294 | 292 | | |
295 | 293 | | |
296 | 294 | | |
297 | | - | |
298 | | - | |
| 295 | + | |
| 296 | + | |
299 | 297 | | |
300 | 298 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
309 | 302 | | |
310 | 303 | | |
311 | | - | |
| 304 | + | |
312 | 305 | | |
313 | 306 | | |
314 | 307 | | |
| |||
331 | 324 | | |
332 | 325 | | |
333 | 326 | | |
334 | | - | |
| 327 | + | |
335 | 328 | | |
336 | | - | |
337 | | - | |
| 329 | + | |
338 | 330 | | |
339 | 331 | | |
340 | 332 | | |
| |||
346 | 338 | | |
347 | 339 | | |
348 | 340 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | 341 | | |
353 | 342 | | |
354 | 343 | | |
| |||
397 | 386 | | |
398 | 387 | | |
399 | 388 | | |
400 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
401 | 396 | | |
402 | 397 | | |
403 | 398 | | |
| |||
0 commit comments