diff options
Diffstat (limited to 'yt/cpp/mapreduce/client/operation.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/client/operation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/client/operation.cpp b/yt/cpp/mapreduce/client/operation.cpp index a14a8b330cf..240dd8850a9 100644 --- a/yt/cpp/mapreduce/client/operation.cpp +++ b/yt/cpp/mapreduce/client/operation.cpp @@ -690,6 +690,9 @@ void BuildUserJobFluently( fluent .Item("file_paths").List(preparer.GetFiles()) + .DoIf(!preparer.GetLayers().empty(), [&] (TFluentMap fluentMap) { + fluentMap.Item("layer_paths").List(preparer.GetLayers()); + }) .Item("command").Value(preparer.GetCommand()) .Item("class_name").Value(preparer.GetClassName()) .DoIf(!userJobSpec.Environment_.empty(), [&] (TFluentMap fluentMap) { |
