File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ func (r *Rules) addDeps(ruleSet *api.RuleSet, history History) (err error) {
137
137
if err != nil {
138
138
return
139
139
}
140
- r .addFilteredLabels (ruleSet )
141
140
err = r .addDeps (ruleSet , history )
142
141
if err != nil {
143
142
return
@@ -146,19 +145,6 @@ func (r *Rules) addDeps(ruleSet *api.RuleSet, history History) (err error) {
146
145
return
147
146
}
148
147
149
- //
150
- // addFilteredLabels filters out target/source wildcard labels and adds
151
- // the rest to the set of included labels.
152
- func (r * Rules ) addFilteredLabels (ruleset * api.RuleSet ) {
153
- for _ , rule := range ruleset .Rules {
154
- for _ , label := range rule .Labels {
155
- if label != "konveyor.io/target" && label != "konveyor.io/source" {
156
- r .Labels .Included = append (r .Labels .Included , label )
157
- }
158
- }
159
- }
160
- }
161
-
162
148
//
163
149
// addRules adds rules
164
150
func (r * Rules ) addRules (ruleset * api.RuleSet ) (err error ) {
You can’t perform that action at this time.
0 commit comments