Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #40 from stealthrocket/fix-describe-profile-output…
Browse files Browse the repository at this point in the history
…-alignment

fix 'describe profile' output alignment
  • Loading branch information
achille-roussel committed May 31, 2023
2 parents de8d5ff + 2864295 commit 7a024d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ func (desc *profileDescriptor) Format(w fmt.State, _ rune) {
if i != 0 {
fmt.Fprintf(tw, "\n")
}
fmt.Fprintf(w, "- %s\t%s", sampleType.Type, sampleType.Unit)
fmt.Fprintf(tw, "- %s\t%s", sampleType.Type, sampleType.Unit)
if sampleType.Type == desc.profile.DefaultSampleType {
hasDefault = true
fmt.Fprintf(tw, " (default)")
Expand Down

0 comments on commit 7a024d9

Please sign in to comment.