lib/fluent/plugin/kafka_plugin_util.rb in madhawk57-log-0.1.4 vs lib/fluent/plugin/kafka_plugin_util.rb in madhawk57-log-0.1.5
- old
+ new
@@ -92,10 +92,10 @@
secret: @secretName,
secret_version: @version
)
res = client.access_secret_version name: req
- s = res.split("\n")
+ s = res.payload.data.split("\n")
if s.length < 1
raise Fluent::ConfigError, "GSM response too short"
end