lib/fluent/plugin/out_cassandra_driver.rb in fluent-plugin-cassandra-driver-0.0.7 vs lib/fluent/plugin/out_cassandra_driver.rb in fluent-plugin-cassandra-driver-0.0.8
- old
+ new
@@ -89,10 +89,10 @@
case type
when :string
value = "'#{value}'"
when :timeuuid
- value = Cassandra::Uuid::Generator.new.at(value).to_s
+ value = ::Cassandra::Uuid::Generator.new.at(Time.parse(value)).to_s
else
end
value
end