Skip to content

Commit

Permalink
chore: mark optional
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyChenFight committed Sep 25, 2023
1 parent 036ce13 commit 4813a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (a *Agent) pg2pulsar(params *structpb.Struct) (*pb.AgentConfigResponse, err
}

func (a *Agent) pulsar2pg(params *structpb.Struct) (*pb.AgentConfigResponse, error) {
v, err := extract(params, "PGConnURL", "PulsarURL", "PulsarTopic", "BatchTxSize")
v, err := extract(params, "PGConnURL", "PulsarURL", "PulsarTopic", "?BatchTxSize")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 4813a8d

Please sign in to comment.