Skip to content

Commit

Permalink
fix: remove superflous example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Linkhorst committed May 14, 2018
1 parent 21392c2 commit 0db8a09
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/default-client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ func main() {
client := instrumented_http.NewClient(nil, &instrumented_http.Callbacks{
PathProcessor: instrumented_http.IdentityProcessor,
QueryProcessor: instrumented_http.IdentityProcessor,
StatusCodeProcessor: func(code int) string {
if code >= 500 {
return "failure"
}
return "success"
},
})

for {
Expand Down

0 comments on commit 0db8a09

Please sign in to comment.