Skip to content

Commit 5bccf0c

Browse files
committed
Fix typo of #335
Signed-off-by: Masahiro Nakagawa <[email protected]>
1 parent bd988ef commit 5bccf0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_s3.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def configure(conf)
122122
raise Fluent::ConfigError, "s3_endpoint parameter is not supported for S3, use s3_region instead. This parameter is for S3 compatible services"
123123
end
124124

125-
if @sqs_endpoint && (@sqs_endpoint.end_with?('amazonaws.com') && !['fips', 'gov'].any? { |e| @sqs_endpoint.include?(e) })
125+
if @sqs.endpoint && (@sqs.endpoint.end_with?('amazonaws.com') && !['fips', 'gov'].any? { |e| @sqs.endpoint.include?(e) })
126126
raise Fluent::ConfigError, "sqs/endpoint parameter is not supported for SQS, use s3_region instead. This parameter is for SQS compatible services"
127127
end
128128

0 commit comments

Comments
 (0)