fix recovery

This commit is contained in:
wh1te909 2020-11-26 01:04:42 +00:00
parent 00537b32ef
commit 6fca60261e
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ def recover(request):
return notify_error("Only available in agent version greater than 0.9.5")
if not agent.has_nats:
if mode == "tacagent" or mode == "checkrunner":
if mode == "tacagent" or mode == "checkrunner" or mode == "rpc":
return notify_error("Requires agent version 1.1.0 or greater")
# attempt a realtime recovery if supported, otherwise fall back to old recovery method