add some missing statements in the sql upgrade script
This commit is contained in:
parent
1d37483ca4
commit
b637365f55
2 changed files with 9 additions and 2 deletions
|
@ -109,7 +109,7 @@ class ListenerStat(Thread):
|
|||
|
||||
def push_stream_stats(self, stats):
|
||||
self.api_client.push_stream_stats(stats)
|
||||
|
||||
|
||||
def update_listener_stat_error(self, stream_id, error):
|
||||
keyname = '%s_listener_stat_error' % stream_id
|
||||
data = {keyname: error}
|
||||
|
@ -126,7 +126,7 @@ class ListenerStat(Thread):
|
|||
|
||||
stats = self.get_stream_stats(stream_parameters["stream_params"])
|
||||
self.logger.debug(stats)
|
||||
|
||||
|
||||
if not stats:
|
||||
self.logger.error("Not able to get listener stats")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue