Merge pull request #355 from mesosphere/revert-incorrect-eg-text
Revert incorrect example text from code and test
This commit is contained in:
@@ -340,7 +340,7 @@ def _get_resource(resource):
|
||||
raise DCOSException(
|
||||
"We currently don't support reading from the TTY. Please "
|
||||
"specify an application JSON.\n"
|
||||
"E.g.: dcos marathon app add your-app-id < app_resource.json")
|
||||
"E.g.: dcos marathon app add < app_resource.json")
|
||||
|
||||
return util.load_json(sys.stdin)
|
||||
|
||||
|
||||
@@ -689,8 +689,7 @@ def test_app_add_no_tty():
|
||||
assert stdout == b''
|
||||
assert stderr == (b"We currently don't support reading from the TTY. "
|
||||
b"Please specify an application JSON.\n"
|
||||
b"E.g.: dcos marathon app add your-app-id"
|
||||
b" < app_resource.json\n")
|
||||
b"E.g.: dcos marathon app add < app_resource.json\n")
|
||||
|
||||
|
||||
def _list_apps(app_id=None):
|
||||
|
||||
Reference in New Issue
Block a user