Skip to content

Commit 2677c79

Browse files
committed
Implement go-common-models
1 parent 2968079 commit 2677c79

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

Gopkg.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main/log_handler.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77

88
"github.com/Shopify/sarama"
9-
"github.com/TerrexTech/go-eventstore-models/model"
9+
"github.com/TerrexTech/go-common-models/model"
1010
"github.com/pkg/errors"
1111
)
1212

@@ -40,12 +40,11 @@ func (m *logHandler) ConsumeClaim(
4040
l.ServiceName = "--> " + strings.ToUpper(l.ServiceName)
4141

4242
log.Printf(
43-
"%s: %d: %s: %s: %s: %s",
43+
"%s: %d: %s: %s: %s",
4444
l.Level,
4545
l.ErrorCode,
4646
l.ServiceName,
47-
l.EventAction,
48-
l.ServiceAction,
47+
l.Action,
4948
l.Description,
5049
)
5150
}

0 commit comments

Comments
 (0)