Skip to content

Commit

Permalink
sort dep labels.
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel committed Nov 15, 2023
1 parent 789865e commit 4ab89d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"io"
"net/http"
"os"
"sort"
"strconv"
"strings"
)
Expand Down Expand Up @@ -1952,6 +1953,7 @@ type TechDependency struct {
//
// With updates the resource with the model.
func (r *TechDependency) With(m *model.TechDependency) {
sort.Strings(r.Labels)
r.Resource.With(&m.Model)
r.Provider = m.Provider
r.Name = m.Name
Expand Down

0 comments on commit 4ab89d0

Please sign in to comment.