Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Register Agent step incorrectly requires current timestamps #324

Closed
dbwiddis opened this issue Dec 27, 2023 · 0 comments · Fixed by #325
Closed

[BUG] Register Agent step incorrectly requires current timestamps #324

dbwiddis opened this issue Dec 27, 2023 · 0 comments · Fixed by #325
Assignees
Labels
bug Something isn't working v2.12.0

Comments

@dbwiddis
Copy link
Member

What is the bug?

The Register Agent step includes "created time" and "last updated time" as required inputs.

How can one reproduce the bug?

Register an agent and have to provide those inputs.

What is the expected behavior?

Leave the inputs blank and have them auto-populated by code for the current time.getEpochSecond().

Do you have any additional context?

https://github.com/opensearch-project/ml-commons/blob/50788de0bcf7a9509da6d2dabb23aab59d5a843d/plugin/src/test/java/org/opensearch/ml/rest/RegisterAgentTransportActionTests.java#L79-L99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.12.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant