lib/micro/service/pipeline.rb in u-service-0.8.0 vs lib/micro/service/pipeline.rb in u-service-0.9.0
- old
+ new
@@ -28,10 +28,10 @@
private
def initial_result(arg)
return arg if arg.is_a?(Micro::Service::Result)
- Micro::Service::Result::Success(value: arg)
+ Micro::Service::Result::Success[value: arg]
end
end
private_constant :Reducer