File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
_examples/instrumentation Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ func main() {
8080 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
8181 })
8282 if err != nil {
83- log .Fatal ("ERROR: %s" , err )
83+ log .Fatalf ("ERROR: %s" , err )
8484 }
8585
8686 // Set up the "done" channel
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ func main() {
101101 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
102102 })
103103 if err != nil {
104- log .Fatal ("ERROR: %s" , err )
104+ log .Fatalf ("ERROR: %s" , err )
105105 }
106106
107107 // Publish client metrics to expvar >>>>>>>>>>>>>>>>>
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ func main() {
139139 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
140140 })
141141 if err != nil {
142- log .Fatal ("ERROR: %s" , err )
142+ log .Fatalf ("ERROR: %s" , err )
143143 }
144144
145145 // Set up the "done" channel
@@ -171,7 +171,7 @@ func main() {
171171 ochttp .ClientRoundtripLatencyDistribution ,
172172 ochttp .ClientCompletedCount ,
173173 ); err != nil {
174- log .Fatal ("ERROR: %s" , err )
174+ log .Fatalf ("ERROR: %s" , err )
175175 }
176176
177177 // Report views to STDOUT once in a while
You can’t perform that action at this time.
0 commit comments