From 8133c3d520cd8eee68cbe065bea444b7191aa3d5 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Tue, 23 May 2017 15:05:19 +0530 Subject: info: show node as configured if status is GB_CLEANUP_INPROGRESS status GB_CLEANUP_INPROGRESS means someone attemped a delete, but node was not in contact/reach. So the configuration on that node is untouched. Hence such nodes need to be shown in configured list or so called 'BLOCK CONFIG NODE(S):' as part of info command. Change-Id: I56f26fdb3fe6e0ac57fae08c58256d8ccb4dc10d Signed-off-by: Prasanna Kumar Kalever --- rpc/block_svc_routines.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc/block_svc_routines.c b/rpc/block_svc_routines.c index 728c86a..a6eab99 100644 --- a/rpc/block_svc_routines.c +++ b/rpc/block_svc_routines.c @@ -2500,6 +2500,7 @@ blockhostIsValid (char *status) { switch (blockMetaStatusEnumParse(status)) { case GB_CONFIG_SUCCESS: + case GB_CLEANUP_INPROGRESS: case GB_AUTH_ENFORCEING: case GB_AUTH_ENFORCED: case GB_AUTH_ENFORCE_FAIL: -- cgit