diff --git a/moto/ssm/models.py b/moto/ssm/models.py index 65d2f7b87..f16a7d981 100644 --- a/moto/ssm/models.py +++ b/moto/ssm/models.py @@ -202,7 +202,6 @@ class Command(BaseModel): 'InvocationDoesNotExist', 'An error occurred (InvocationDoesNotExist) when calling the GetCommandInvocation operation') - return invocation