Skip to content

Commit

Permalink
Use Print instead of Printf
Browse files Browse the repository at this point in the history
Because now we're printing a fixed string, without string formatting.
  • Loading branch information
rhcarvalho committed Apr 17, 2020
1 parent 9aedba0 commit b3548d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (mi *modulesIntegration) processor(event *Event, hint *EventHint) *Event {
mi.once.Do(func() {
info, ok := debug.ReadBuildInfo()
if !ok {
Logger.Printf("The Modules integration is not available in binaries built without module support.")
Logger.Print("The Modules integration is not available in binaries built without module support.")
return
}
mi.modules = extractModules(info)
Expand Down

0 comments on commit b3548d6

Please sign in to comment.