Skip to content

Commit

Permalink
fix bug in list services maturity cmd (#259)
Browse files Browse the repository at this point in the history
* fix bug in list services maturity cmd

* update opslevel-go submodule hash
  • Loading branch information
davidbloss authored Mar 6, 2024
1 parent f07d08d commit 2ba2188
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cmd/maturity.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ There are multiple output formats that are useful
categoriesConn, err := client.ListCategories(nil)
cobra.CheckErr(err)
categories := categoriesConn.Nodes
data, err := client.ListServicesMaturity()
response, err := client.ListServicesMaturity(nil)
cobra.CheckErr(err)
data := response.Nodes
headers := []string{"Name", "Overall"}
sort.Slice(categories, func(i, j int) bool {
return categories[i].Name < categories[j].Name
Expand Down

0 comments on commit 2ba2188

Please sign in to comment.