Skip to content

Commit 618284d

Browse files
committed
fix propagated headers
Signed-off-by: Kaushal Kumar <[email protected]>
1 parent 3e2774d commit 618284d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/opensearch/wlm/WorkloadGroupThreadContextStatePropagator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* This class is used to propagate WorkloadGroup related headers to request and nodes
1919
*/
2020
public class WorkloadGroupThreadContextStatePropagator implements ThreadContextStatePropagator {
21-
// TODO: move this constant to WorkloadGroupService class once the WorkloadGroup monitoring framework PR is ready
22-
public static List<String> PROPAGATED_HEADERS = List.of("queryGroupId");
21+
22+
public static List<String> PROPAGATED_HEADERS = List.of(WorkloadGroupTask.WORKLOAD_GROUP_ID_HEADER);
2323

2424
/**
2525
* @param source current context transient headers

0 commit comments

Comments
 (0)