Chore/fix lint issues (#27704)
* Chore: Fix linting issues Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -23,9 +23,7 @@ func validateTimeRange(item *annotations.Item) error {
|
||||
item.Epoch = item.EpochEnd
|
||||
}
|
||||
if item.EpochEnd < item.Epoch {
|
||||
tmp := item.Epoch
|
||||
item.Epoch = item.EpochEnd
|
||||
item.EpochEnd = tmp
|
||||
item.Epoch, item.EpochEnd = item.EpochEnd, item.Epoch
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user