Skip to content

Commit

Permalink
Merge pull request pystorm#354 from Parsely/feature/pass_original_name
Browse files Browse the repository at this point in the history
Save original name as topology.original_name in topology settings
  • Loading branch information
dan-blanchard committed Jan 26, 2017
2 parents 7445137 + 624e562 commit 6b62136
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ python:
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy-5.4.1"

install:
- travis_retry pip install -r requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions streamparse/cli/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ def submit_topology(name=None, env_name=None, options=None, force=False,
# Handle option conflicts
options = resolve_options(options, env_config, topology_class,
override_name)
# In case we're overriding things, let's save the original name
options['topology.original_name'] = name

# Set parallelism based on env_name if necessary
for thrift_component in chain(itervalues(topology_class.thrift_bolts),
Expand Down

0 comments on commit 6b62136

Please sign in to comment.