Fix ECS update_service and describing tasks.
This commit is contained in:
parent
311966e28d
commit
7c1fd0a2f1
3 changed files with 40 additions and 4 deletions
11
moto/ecs/exceptions.py
Normal file
11
moto/ecs/exceptions.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from __future__ import unicode_literals
|
||||
from moto.core.exceptions import RESTError
|
||||
|
||||
|
||||
class ServiceNotFoundException(RESTError):
|
||||
code = 400
|
||||
|
||||
def __init__(self, service_name):
|
||||
super(ServiceNotFoundException, self).__init__(
|
||||
error_type="ServiceNotFoundException",
|
||||
message="The service {0} does not exist".format(service_name))
|
||||
Loading…
Add table
Add a link
Reference in a new issue