Skip to content

Commit b0b9bed

Browse files
typos
1 parent c0e99e5 commit b0b9bed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/tree/leaf_variants.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func (lv *LeafVariants) GetDeviations(ch chan<- *types.DeviationEntry, isActiveC
335335
}
336336

337337
// get the path via the first LeafEntry
338-
// is valida for all entries
338+
// is valid for all entries
339339
sdcpbPath, err := lv.parentEntry.SdcpbPath()
340340
if err != nil {
341341
log.Error(err)
@@ -375,7 +375,7 @@ func (lv *LeafVariants) GetDeviations(ch chan<- *types.DeviationEntry, isActiveC
375375
overruled = append(overruled, de)
376376
highest = le
377377
}
378-
// if precedence of actual (le) is lower then le needs to be adeded to overruled
378+
// if precedence of actual (le) is lower then le needs to be added to overruled
379379
if le.Priority() >= highest.Priority() {
380380
de := types.NewDeviationEntry(le.Owner(), types.DeviationReasonOverruled, sdcpbPath).SetExpectedValue(le.Value())
381381
overruled = append(overruled, de)
@@ -398,7 +398,7 @@ func (lv *LeafVariants) GetDeviations(ch chan<- *types.DeviationEntry, isActiveC
398398
return
399399
}
400400

401-
// if higeste exists but not running OR running != highest
401+
// if highest exists but not running OR running != highest
402402
if (running == nil && highest != nil) || running.Value().Cmp(highest.Value()) != 0 {
403403
de := types.NewDeviationEntry(highest.Owner(), types.DeviationReasonNotApplied, sdcpbPath).SetExpectedValue(highest.Value())
404404
if running != nil {

0 commit comments

Comments
 (0)