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 node delete endpoint. #431

Merged
merged 2 commits into from
Apr 4, 2022
Merged

Conversation

zhuyuanmao
Copy link
Member

Provide an endpoint to delete a node container. Throw an error when
deleting the last orderer order.

Signed-off-by: Yuanmao Zhu yuanmao@ualberta.ca

Provide an endpoint to delete a node container. Throw an error when
deleting the last orderer order.

Signed-off-by: Yuanmao Zhu <yuanmao@ualberta.ca>
@zhuyuanmao zhuyuanmao requested a review from a team as a code owner March 29, 2022 04:31
@@ -4,6 +4,8 @@
CELLO_HOME = "/opt/cello"
FABRIC_TOOL = "/opt/bin"
FABRIC_CFG = "/opt/node"
FABRIC_NODE = "/opt/fabric"
Copy link
Member

Choose a reason for hiding this comment

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

No code is using the two new variables?

FABRIC_NODE = "/opt/fabric"
PRODUCTION_NODE = "/opt/production"

Copy link
Member Author

Choose a reason for hiding this comment

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

We will use these variables to find local mapping volume paths for HLF node containers, and then remove them after calling delete node API endpoint.

Signed-off-by: Yuanmao Zhu <yuanmao@ualberta.ca>
@yeasy yeasy merged commit 25d7a04 into hyperledger:main Apr 4, 2022
@zhuyuanmao zhuyuanmao deleted the fix-node-delete branch May 24, 2022 03:11
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.

None yet

2 participants