Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithunikzz committed Apr 15, 2024
1 parent f54d23b commit 29cf584
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/pkg/clients/bridge_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (n *NATSContext) SubscribeGitBridgeNats(conn clickhouse.DBInterface) {
var pl github.PushPayload
err := json.Unmarshal([]byte(msg.Data), &pl)
if err != nil {
log.Println("error occured while unmarshal the payload Error:", err.Error())
log.Println("error occurred while unmarshal the payload Error:", err.Error())
return
}
var gca model.GitCommonAttribute
Expand Down Expand Up @@ -216,7 +216,7 @@ func (n *NATSContext) SubscribeGitBridgeNats(conn clickhouse.DBInterface) {
var pl gitea.PushPayload
err := json.Unmarshal([]byte(msg.Data), &pl)
if err != nil {
log.Println("error occured while unmarshal the payload Error:", err.Error())
log.Println("error occurred while unmarshal the payload Error:", err.Error())
return
}
var gca model.GitCommonAttribute
Expand Down Expand Up @@ -289,7 +289,7 @@ func (n *NATSContext) SubscribeGitBridgeNats(conn clickhouse.DBInterface) {
var pl gitlab.PushEventPayload
err := json.Unmarshal([]byte(msg.Data), &pl)
if err != nil {
log.Println("error occured while unmarshal the payload Error:", err.Error())
log.Println("error occurred while unmarshal the payload Error:", err.Error())
return
}
var gca model.GitCommonAttribute
Expand Down Expand Up @@ -349,7 +349,7 @@ func (n *NATSContext) SubscribeGitBridgeNats(conn clickhouse.DBInterface) {
var pl bitbucket.RepoPushPayload
err := json.Unmarshal([]byte(msg.Data), &pl)
if err != nil {
log.Println("error occured while unmarshal the payload Error:", err.Error())
log.Println("error occurred while unmarshal the payload Error:", err.Error())
return
}
var gca model.GitCommonAttribute
Expand Down

0 comments on commit 29cf584

Please # to comment.