rpcctl.py: Use the correct function for setting xprts offline and online
Subsystems (2)
PATCH 1/1 rpcctl.py: Use the correct function for setting xprts offline and online
From: Anna Schumaker <[email protected]>
Otherwise the tool will tell us:
'Namespace' object has no attribute 'set_state'
Signed-off-by Anna Schumaker <[email protected]>
--- tools/rpcctl/rpcctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/rpcctl/rpcctl.py +1 -1
@@ -142,7 +142,7 @@ class Xprt: xprt.set_state("offline") xprt.set_state("remove") else: - args.set_state(args.property) + xprt.set_state(args.property) print(xprt)
Signature · 1 line
2.36.0