Skip to content

Commit

Permalink
Merge pull request #340 from yunkon-kim/patch-yunkon-kim-1
Browse files Browse the repository at this point in the history
Fix inappropriate log format
  • Loading branch information
yunkon-kim authored Oct 5, 2022
2 parents 2b02ecf + 7595ea9 commit 34cebd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poc-cb-net/cmd/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ func updateNetworkingRule(thisPeer model.Peer, otherPeers map[string]model.Peer,

size := binary.Size(networkingRuleBytes)
networkingRuleCount := len(networkingRule.HostID)
CBLogger.Tracef("TransactionRequest size (bytes): total_size: %v, networking_rule_count", size, networkingRuleCount)
CBLogger.Tracef("TransactionRequest size (bytes): total_size: %v, networking_rule_count: %v", size, networkingRuleCount)

// NOTICE: "!=" doesn't work..... It might be a temporal issue.
txnResp, err := etcdClient.Txn(context.TODO()).
Expand Down Expand Up @@ -754,7 +754,7 @@ func updatePeerInNetworkingRule(thisPeer model.Peer, otherPeer model.Peer, ruleT

size := binary.Size(networkingRuleBytes)
networkingRuleCount := len(networkingRule.HostID)
CBLogger.Tracef("TransactionRequest size (bytes): total_size: %v, networking_rule_count", size, networkingRuleCount)
CBLogger.Tracef("TransactionRequest size (bytes): total_size: %v, networking_rule_count: %v", size, networkingRuleCount)

// NOTICE: "!=" doesn't work..... It might be a temporal issue.
txnResp, err := etcdClient.Txn(context.TODO()).
Expand Down

0 comments on commit 34cebd4

Please sign in to comment.