Repository navigation
Commit 7243af3
committed
fix: add project filter to apply_data_source in shared registry
Fixes feast-dev#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 (e.g. the default
"vals_to_add"), this caused cross-project overwriting.
Fixed by adding the project field check to mirror the pattern already
used in apply_entity, apply_feature_service, and apply_feature_view.1 parent 9107a43 commit 7243af3
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
398 | 401 | | |
399 | 402 | | |
400 | 403 | | |
| |||
688 | 691 | | |
689 | 692 | | |
690 | 693 | | |
691 | | - | |
| 694 | + | |
692 | 695 | | |
693 | 696 | | |
694 | 697 | | |
695 | 698 | | |
696 | 699 | | |
697 | | - | |
| 700 | + | |
698 | 701 | | |
699 | 702 | | |
700 | 703 | | |
| |||
735 | 738 | | |
736 | 739 | | |
737 | 740 | | |
738 | | - | |
| 741 | + | |
739 | 742 | | |
740 | 743 | | |
741 | 744 | | |
| |||
0 commit comments