Skip to content

Commit 445e70e

Browse files
author
Muhammad Idil Haq Amir
committed
update comment
1 parent f04548d commit 445e70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/appeal/service.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ func (s *Service) getPoliciesMap(ctx context.Context) (map[string]map[uint]*doma
852852
return nil, err
853853
}
854854

855-
// make sure to sort policies with latest version desc
855+
// make sure to sort policies with version asc
856856
sort.Slice(policies, func(i, j int) bool {
857857
return policies[i].Version < policies[j].Version
858858
})

0 commit comments

Comments
 (0)