Message ID | 20220502235047.8222-1-Anna.Schumaker@Netapp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | rpcctl.py: Use the correct function for setting xprts offline and online | expand |
diff --git a/tools/rpcctl/rpcctl.py b/tools/rpcctl/rpcctl.py index b8df556b682c..2a69eacd3103 100755 --- a/tools/rpcctl/rpcctl.py +++ b/tools/rpcctl/rpcctl.py @@ -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)