File tree 3 files changed +4
-4
lines changed
_examples/instrumentation
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ func main() {
80
80
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
81
81
})
82
82
if err != nil {
83
- log .Fatal ("ERROR: %s" , err )
83
+ log .Fatalf ("ERROR: %s" , err )
84
84
}
85
85
86
86
// Set up the "done" channel
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ func main() {
101
101
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
102
102
})
103
103
if err != nil {
104
- log .Fatal ("ERROR: %s" , err )
104
+ log .Fatalf ("ERROR: %s" , err )
105
105
}
106
106
107
107
// Publish client metrics to expvar >>>>>>>>>>>>>>>>>
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ func main() {
139
139
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
140
140
})
141
141
if err != nil {
142
- log .Fatal ("ERROR: %s" , err )
142
+ log .Fatalf ("ERROR: %s" , err )
143
143
}
144
144
145
145
// Set up the "done" channel
@@ -171,7 +171,7 @@ func main() {
171
171
ochttp .ClientRoundtripLatencyDistribution ,
172
172
ochttp .ClientCompletedCount ,
173
173
); err != nil {
174
- log .Fatal ("ERROR: %s" , err )
174
+ log .Fatalf ("ERROR: %s" , err )
175
175
}
176
176
177
177
// Report views to STDOUT once in a while
You can’t perform that action at this time.
0 commit comments