Skip to content

Commit

Permalink
Update pkg/log/log.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rebecca Mahany-Horton <rebeccamahany@gmail.com>
  • Loading branch information
seejdev and RebeccaMahany authored Apr 17, 2023
1 parent 4d06249 commit 0df1045
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func getStringSliceStat(getFunc func() ([]string, error)) string {
if err != nil {
return fmt.Sprintf("could not get stat: %v", err)
}
// We only use this function for `Status` at the moment, which is guaranteed to have one element when successful.
return stat[0]
}

Expand Down

0 comments on commit 0df1045

Please sign in to comment.