Skip to content

Fix sample-remote-monitor-plugin compilation after Target field addition#2056

Closed
manaswini1920 wants to merge 1 commit intoopensearch-project:mainfrom
manaswini1920:fix/sample-plugin-target-compat
Closed

Fix sample-remote-monitor-plugin compilation after Target field addition#2056
manaswini1920 wants to merge 1 commit intoopensearch-project:mainfrom
manaswini1920:fix/sample-plugin-target-compat

Conversation

@manaswini1920
Copy link
Contributor

@manaswini1920 manaswini1920 commented Mar 25, 2026

Description

Fix compilation error in sample-remote-monitor-plugin after the Target field was added to the Monitor constructor in common-utils. The Monitor constructor now requires a Target parameter — added null (default LOCAL target) to all 3 Monitor construct
or calls in SampleRemoteMonitorRestHandler.

Related Issues

Depends on opensearch-project/common-utils#916

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Add null Target parameter to Monitor constructor calls in
SampleRemoteMonitorRestHandler to match the updated Monitor
constructor from common-utils opensearch-project#916.

Signed-off-by: Manaswini Ragamouni <ragamanu@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants