Skip to content

Commit

Permalink
Fix typos and improve UX
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Feb 25, 2021
1 parent 7e1bc5d commit ac4a3f9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func printExecutionDescription(
}
}

fprintf(stdout, " output: %s\n", ui.ValueColor.Sprint(strings.Join(outputDescriptions, ";")))
fprintf(stdout, " output: %s\n", ui.ValueColor.Sprint(strings.Join(outputDescriptions, ", ")))
fprintf(stdout, "\n")

maxDuration, _ := lib.GetEndOffset(execPlan)
Expand Down
2 changes: 1 addition & 1 deletion core/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func NewEngine(

// StartOutputs spins up all configured outputs, giving the thresholds to any
// that can accept them. And if some output fails, stop the already started
// ones. This may take some time, since some outpts make initial network
// ones. This may take some time, since some outputs make initial network
// requests to set up whatever remote services are going to listen to them.
//
// TODO: this doesn't really need to be in the Engine, so take it out?
Expand Down
2 changes: 1 addition & 1 deletion output/json/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (o *Output) Description() string {
if o.filename == "" || o.filename == "-" {
return "json(stdout)"
}
return fmt.Sprintf("json(%s)", o.filename)
return fmt.Sprintf("json (%s)", o.filename)
}

// Start opens the tries to specified JSON file and starts the goroutine for
Expand Down
4 changes: 2 additions & 2 deletions output/json/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func newJSONSample(sample stats.Sample) Sample {
}
}

// WrapSample is a used to package a metric sample in a way that's nice to
// export to JSON.
// WrapSample is used to package a metric sample in a way that's nice to export
// to JSON.
func WrapSample(sample stats.Sample) Envelope {
return Envelope{
Type: "Point",
Expand Down

0 comments on commit ac4a3f9

Please sign in to comment.