lib/fluent/plugin/out_grassland.rb in fluent-plugin-grassland-0.0.6 vs lib/fluent/plugin/out_grassland.rb in fluent-plugin-grassland-0.1.0

- old
+ new

@@ -76,10 +76,10 @@ @stream_name = credential['streamName'] @access_key_id = credential['accessKeyId'] @secret_access_key = credential['secretAccessKey'] @region = credential['region'] @sessionToken = credential['SessionToken'] - @partitionKeys = credential['SessionToken'] + @partitionKeys = credential['partitionKeyList'] end def get_json(location, limit = 3) raise ArgumentError, 'too many HTTP redirects' if limit == 0 uri = URI.parse(location)