Skip to content

Commit

Permalink
rm error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
crimson-gao committed Feb 23, 2024
1 parent c487941 commit 63adedf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions consumer/consumer_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ func initConsumerClient(option LogHubConfig, logger log.Logger) *ConsumerClient
}
if option.Region != "" {
client.SetRegion(option.Region)
} else if option.AuthVersion == sls.AuthV4 {
level.Error(logger).Log("error", "region must be set when using signature v4")
}

consumerGroup := sls.ConsumerGroup{
ConsumerGroupName: option.ConsumerGroupName,
Timeout: option.HeartbeatTimeoutInSecond,
Expand Down

0 comments on commit 63adedf

Please sign in to comment.