Skip to content

Commit

Permalink
rename func newcore
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZeroSlave authored Jan 9, 2018
1 parent 54943a2 commit cd377f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
traceSkipFrames = 2
)

func NewZapSentryCore(cfg Configuration, factory SentryClientFactory) (zapcore.Core, error) {
func NewCore(cfg Configuration, factory SentryClientFactory) (zapcore.Core, error) {
client, err := factory()
if err != nil {
return zapcore.NewNopCore(), err
Expand Down

0 comments on commit cd377f8

Please sign in to comment.