Merge pull request #355 from mesosphere/revert-incorrect-eg-text

Revert incorrect example text from code and test
This commit is contained in:
José Armando García Sancio
2015-09-18 11:51:12 -07:00
2 changed files with 2 additions and 3 deletions

View File

@@ -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)

View File

@@ -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):