diff --git a/engine/thresholds.go b/engine/thresholds.go index 86a53dd66..3a01a3a0d 100644 --- a/engine/thresholds.go +++ b/engine/thresholds.go @@ -83,6 +83,10 @@ func (tp *ThresholdProfile) Clone() *ThresholdProfile { if tp.ActivationInterval != nil { clone.ActivationInterval = tp.ActivationInterval.Clone() } + if tp.EeIDs != nil { + clone.EeIDs = make([]string, len(tp.EeIDs)) + copy(clone.EeIDs, tp.EeIDs) + } return clone }