Skip to content

Commit

Permalink
sortKey for FServicePackage
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 committed Apr 22, 2021
1 parent c9c7663 commit 0006693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions file/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ type FServicePackage struct {
Versions []FServiceVersion `json:"versions,omitempty" yaml:"versions,omitempty"`
}

// id is used for sorting.
func (s FServicePackage) id() string {
// sortKey is used for sorting.
func (s FServicePackage) sortKey() string {
if s.Name != nil {
return *s.Name
}
Expand Down

0 comments on commit 0006693

Please sign in to comment.