Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos in debugging format strings #3695

Merged
merged 1 commit into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/api_topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ func (wc *websocketState) update(ctx context.Context) error {
otlog.String("timestamp", reportTimestamp.String()))
re, err := wc.rep.Report(ctx, reportTimestamp)
if err != nil {
return errors.Wrapf(err, "Error generating report: %v")
return errors.Wrap(err, "Error generating report")
}
renderer, filter, err := topologyRegistry.RendererForTopology(wc.topologyID, wc.values, re)
if err != nil {
return errors.Wrapf(err, "Error generating report: %v")
return errors.Wrap(err, "Error generating report")
}

newTopo := detailed.CensorNodeSummaries(
Expand All @@ -201,7 +201,7 @@ func (wc *websocketState) update(ctx context.Context) error {

if err := wc.conn.WriteJSON(diff); err != nil {
if !xfer.IsExpectedWSCloseError(err) {
return errors.Wrapf(err, "cannot serialize topology diff: %s")
return errors.Wrap(err, "cannot serialize topology diff")
}
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion probe/awsecs/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func GetLabelInfo(rpt report.Report) map[string]map[string]*TaskLabelInfo {

task.ContainerIDs = append(task.ContainerIDs, nodeID)
}
log.Debug("Got ECS container info: %v", results)
log.Debugf("Got ECS container info: %v", results)
return results
}

Expand Down