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

SnapshotStatus.toString() always returns a error message #26851

Closed
liketic opened this issue Oct 2, 2017 · 2 comments
Closed

SnapshotStatus.toString() always returns a error message #26851

liketic opened this issue Oct 2, 2017 · 2 comments
Labels
:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement

Comments

@liketic
Copy link
Contributor

liketic commented Oct 2, 2017

The method toString of class SnapshotStatus always got a error message:
{ "error" : "Can not start an object, expecting field name (context: Object)"}.

The toString:

The startObject() of builder called twice because it will be called in the start of toXContent().

@jasontedor
Copy link
Member

For reference we do not require an issue to open a PR. You can open a PR and explain the issue within the PR and that is preferred since it reduces the number of notifications. We really only need issues opened for bugs that aren’t immediately going to see a PR.

@liketic
Copy link
Contributor Author

liketic commented Oct 3, 2017

Got it. Thanks.

@danielmitterdorfer danielmitterdorfer added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement labels Oct 4, 2017
liketic added a commit to liketic/elasticsearch that referenced this issue Oct 5, 2017
cbuescher pushed a commit that referenced this issue Oct 5, 2017
cbuescher pushed a commit that referenced this issue Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement
Projects
None yet
Development

No branches or pull requests

3 participants