Skip to content

Commit

Permalink
Merge pull request tellapart#41 from thinker0/typo
Browse files Browse the repository at this point in the history
typo StaticSource -> StaticProxySource
  • Loading branch information
ThanosBaskous authored Sep 29, 2016
2 parents fcf2d68 + 7eb0ce5 commit 0684ba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ signaling updates to a list of endpoints.
1. **AuroraSource**, which watches Aurora's service discovery database in
Zookeeper and whenever a ServiceInstance is added or removed, signals
Aurproxy's ProxyUpdater that an update is required.
2. **StaticSource**, which returns a single, statically configured endpoint.
2. **StaticProxySource**, which returns a single, statically configured endpoint.

### Registration

Expand Down Expand Up @@ -364,8 +364,8 @@ Sentry.
Service Discovery lives. Default: '/aurora/'
- **share_adjusters:** Optional list of ShareAdjuster dictionaries.

### StaticSource
- **source_class:** 'tellapart.aurproxy.source.StaticSource'
### StaticProxySource
- **source_class:** 'tellapart.aurproxy.source.StaticProxySource'
- **name:** Required name of static source (EG: 'devnull')
- **host:** Required host for static endpoint (EG: '127.0.0.1')
- **port:** Required port for static endpoint (EG: 12345)
Expand Down
2 changes: 1 addition & 1 deletion tellapart/aurproxytest/source/sources/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from tellapart.aurproxy.source import StaticProxySource

class StaticSourceTests(unittest.TestCase):
class StaticProxySourceTests(unittest.TestCase):
def test_static_source(self):
name, host, port = 'localhost', '127.0.0.1', 8080
def noop(): pass
Expand Down

0 comments on commit 0684ba9

Please sign in to comment.