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

fix: unused parse crashing swarm page #1001

Closed
wants to merge 2 commits into from

Conversation

mezotv
Copy link
Contributor

@mezotv mezotv commented Dec 26, 2024

@mezotv mezotv requested a review from Siumauricio as a code owner December 26, 2024 21:33
@faytranevozter
Copy link
Contributor

I don't think this solve the issue, the error is came from JSON.parse(stdout) because its not a valid json when there is multiple node. Its basically return n json string (n is total nodes).

{"Availability":"Active","EngineVersion":"27.3.1","Hostname":"orbstack","ID":"s3cxidqrfh2rcyeqakpu0281p","ManagerStatus":"Leader","Self":true,"Status":"Ready","TLSStatus":"Ready"}
{"Availability":"Active","EngineVersion":"27.3.1","Hostname":"ubuntu","ID":"2uxcg6zqgcptjabwhjeomxuev","ManagerStatus":"","Self":false,"Status":"Down","TLSStatus":"Ready"}

Just remove this line will fix the issue

@Siumauricio
Copy link
Contributor

Close #1005

@mezotv mezotv deleted the fix-swarm-page branch December 27, 2024 06:57
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.

3 participants