Repository: aurora Updated Branches: refs/heads/master af7e1a731 -> cab465e03
Fixing option type in observer. Bugs closed: AURORA-1356 Reviewed at https://reviews.apache.org/r/35621/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/cab465e0 Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/cab465e0 Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/cab465e0 Branch: refs/heads/master Commit: cab465e03590130028fbd1ffb1a3f48451ca8ecf Parents: af7e1a7 Author: Maxim Khutornenko <[email protected]> Authored: Thu Jun 18 13:54:37 2015 -0700 Committer: Maxim Khutornenko <[email protected]> Committed: Thu Jun 18 13:54:37 2015 -0700 ---------------------------------------------------------------------- src/main/python/apache/aurora/tools/thermos_observer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/cab465e0/src/main/python/apache/aurora/tools/thermos_observer.py ---------------------------------------------------------------------- diff --git a/src/main/python/apache/aurora/tools/thermos_observer.py b/src/main/python/apache/aurora/tools/thermos_observer.py index d88c03f..82de0a1 100644 --- a/src/main/python/apache/aurora/tools/thermos_observer.py +++ b/src/main/python/apache/aurora/tools/thermos_observer.py @@ -55,7 +55,7 @@ app.add_option( '--polling_interval_secs', dest='polling_interval_secs', type='int', - default=TaskObserver.POLLING_INTERVAL.as_(Time.SECONDS), + default=int(TaskObserver.POLLING_INTERVAL.as_(Time.SECONDS)), help='The number of seconds between observer refresh attempts.')
