fix(outputs.kinesis): Honor the configured endpoint (#15781)
This commit is contained in:
parent
de24c1683c
commit
88663992e4
|
|
@ -69,6 +69,10 @@ func (k *KinesisOutput) Connect() error {
|
|||
return err
|
||||
}
|
||||
|
||||
if k.EndpointURL != "" {
|
||||
cfg.BaseEndpoint = &k.EndpointURL
|
||||
}
|
||||
|
||||
svc := kinesis.NewFromConfig(cfg)
|
||||
|
||||
_, err = svc.DescribeStreamSummary(context.Background(), &kinesis.DescribeStreamSummaryInput{
|
||||
|
|
|
|||
Loading…
Reference in New Issue