You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// check if material already exists in the contract and skip it in that case
241
250
ignore:=false
242
251
for_, mat:=rangefromContract {
243
-
ifmat.GetName() ==groupMaterial.GetName() {
252
+
ifmat.GetName() ==csm.GetName() {
244
253
logger.Warn().Msgf("material '%s' from policy group '%s' is also present in the contract and will be ignored", mat.GetName(), group.GetMetadata().GetName())
245
254
ignore=true
246
255
}
247
256
}
248
257
if!ignore {
249
-
toAdd=append(toAdd, groupMaterial)
258
+
toAdd=append(toAdd, csm)
250
259
}
251
260
}
252
261
253
-
returntoAdd
262
+
returntoAdd, nil
263
+
}
264
+
265
+
// translates materials and interpolates material names
0 commit comments