|
@@ -371,12 +371,12 @@ class Stats:
|
|
|
|
|
|
def update_statistics_data(self, owner=None, mid=None, data=None):
|
|
|
"""
|
|
|
- change statistics date of specified module into specified
|
|
|
+ change statistics data of specified module into specified
|
|
|
data. It updates information of each module first, and it
|
|
|
updates statistics data. If specified data is invalid for
|
|
|
statistics spec of specified owner, it returns a list of error
|
|
|
messages. If there is no error or if neither owner nor data is
|
|
|
- specified in args, it returns None. The 'mid' argument is a identifier of
|
|
|
+ specified in args, it returns None. The 'mid' argument is an identifier of
|
|
|
the sender module in order for stats to identify which
|
|
|
instance sends statistics data in the situation that multiple
|
|
|
instances are working.
|
|
@@ -384,9 +384,9 @@ class Stats:
|
|
|
# Note:
|
|
|
# The fix of #1751 is for multiple instances working. It is
|
|
|
# assumed here that they send different statistics data with
|
|
|
- # each the sender module id(mid) . Stats should save their statistics data by
|
|
|
+ # each sender module id (mid). Stats should save their statistics data by
|
|
|
# mid. The statistics data, which is the existing variable, is
|
|
|
- # preserved by accumlating from statistics data by the module id. This
|
|
|
+ # preserved by accumlating from statistics data by the mid. This
|
|
|
# is an ad-hoc fix because administrators can not see
|
|
|
# statistics by each instance via bindctl or HTTP/XML. These
|
|
|
# interfaces aren't changed in this fix.
|