|
1 | 1 | /* |
2 | 2 | * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one |
3 | | - * or more contributor license agreements. Licensed under the Elastic License |
4 | | - * 2.0 and the Server Side Public License, v 1; you may not use this file except |
5 | | - * in compliance with, at your election, the Elastic License 2.0 or the Server |
6 | | - * Side Public License, v 1. |
| 3 | + * or more contributor license agreements. Licensed under the "Elastic License |
| 4 | + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side |
| 5 | + * Public License v 1"; you may not use this file except in compliance with, at |
| 6 | + * your election, the "Elastic License 2.0", the "GNU Affero General Public |
| 7 | + * License v3.0 only", or the "Server Side Public License, v 1". |
7 | 8 | */ |
8 | 9 |
|
9 | 10 | package org.elasticsearch.index.mapper; |
@@ -69,14 +70,14 @@ private static void parseAndPatchSource( |
69 | 70 | case START_ARRAY -> { |
70 | 71 | destination.writeStartArray(); |
71 | 72 | while (parser.nextToken() != XContentParser.Token.END_ARRAY) { |
72 | | - parseAndPatchSource(destination, parser, fullPath, patchFields, patchApply); |
| 73 | + parseAndPatchSource(destination, parser, fullPath, patchFullPaths, patchApply); |
73 | 74 | } |
74 | 75 | destination.writeEndArray(); |
75 | 76 | } |
76 | 77 | case START_OBJECT -> { |
77 | 78 | destination.writeStartObject(); |
78 | 79 | while (parser.nextToken() != XContentParser.Token.END_OBJECT) { |
79 | | - parseAndPatchSource(destination, parser, fullPath, patchFields, patchApply); |
| 80 | + parseAndPatchSource(destination, parser, fullPath, patchFullPaths, patchApply); |
80 | 81 | } |
81 | 82 | destination.writeEndObject(); |
82 | 83 | } |
|
0 commit comments