Commit 945576e
committed
fix: add project filter to apply_data_source and delete_data_source
Fixes #6206
The apply_data_source method was matching data sources by name only,
without filtering by project. In a shared registry scenario where multiple
projects have data sources with the same name, this caused cross-project
overwriting.
Also fix delete_data_source to use the same project-scoped filter,
ensuring consistency across all registry mutation methods.
Additionally fix Unicode mojibake in comments (em dashes were
double-encoded as Latin-1 codepoints instead of UTF-8).
Signed-off-by: Venkateswarlu Boggavarapu <mailtoboggavarapu@gmail.com>1 parent 7243af3 commit 945576e
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
| |||
691 | 694 | | |
692 | 695 | | |
693 | 696 | | |
694 | | - | |
| 697 | + | |
695 | 698 | | |
696 | 699 | | |
697 | 700 | | |
698 | 701 | | |
699 | 702 | | |
700 | | - | |
| 703 | + | |
701 | 704 | | |
702 | 705 | | |
703 | 706 | | |
| |||
738 | 741 | | |
739 | 742 | | |
740 | 743 | | |
741 | | - | |
| 744 | + | |
742 | 745 | | |
743 | 746 | | |
744 | 747 | | |
| |||
0 commit comments