File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
engine/plugins/horizontals Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,12 @@ func (h *horizPlugin) Stop() {
9393func (h * horizPlugin ) addAssociatedRelationship (e * et.Event , assocs []* scope.Association ) {
9494 for _ , assoc := range assocs {
9595 for _ , impacted := range assoc .ImpactedAssets {
96- tstr := string (impacted .Asset .AssetType ())
97- matches , err := e .Session .Config ().CheckTransformations (tstr , tstr , h .name )
98- if err != nil || matches .Len () == 0 {
99- continue
100- }
96+ conf := 50
10197
102- conf := matches .Confidence (h .name )
103- if conf == - 1 {
104- conf = matches .Confidence (tstr )
98+ if e .Session .Config ().DefaultTransformations != nil {
99+ if c := e .Session .Config ().DefaultTransformations .Confidence ; c > 0 {
100+ conf = c
101+ }
105102 }
106103
107104 if match , result := e .Session .Scope ().IsAssetInScope (impacted .Asset , conf ); result >= conf && match != nil {
You can’t perform that action at this time.
0 commit comments