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

Add subgraph paused status to index node API #4779

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

incrypto32
Copy link
Contributor

Closes #4667

@incrypto32 incrypto32 self-assigned this Jul 24, 2023
@incrypto32 incrypto32 requested a review from mangas July 24, 2023 16:30
@fordN fordN added the enhancement New feature or request label Jul 25, 2023
status
.paused
.map(|b| b.to_string())
.unwrap_or("---".to_string()),
Copy link
Contributor

@mangas mangas Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for a new row in the graphman info command, it will just print out a table and this line just adds a new line with the paused status of that subgraph

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still dont understand why --- rather than defaulting to a sensible value like "false"?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving to unblock but I'd rather change this, however I'll leave that decision to you

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its a placeholder for None the value is a Option<bool>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when does None happen?

@incrypto32 incrypto32 merged commit 9e1b411 into master Aug 17, 2023
6 checks passed
@incrypto32 incrypto32 deleted the incrypto32/add-status-to-index-node-api branch August 17, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add subgraph status (paused/active) to index-node API and graphman info
3 participants