We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f04548d commit 445e70eCopy full SHA for 445e70e
core/appeal/service.go
@@ -852,7 +852,7 @@ func (s *Service) getPoliciesMap(ctx context.Context) (map[string]map[uint]*doma
852
return nil, err
853
}
854
855
- // make sure to sort policies with latest version desc
+ // make sure to sort policies with version asc
856
sort.Slice(policies, func(i, j int) bool {
857
return policies[i].Version < policies[j].Version
858
})
0 commit comments