Browse Source

[2136] Make minor text updates

Mukund Sivaraman 13 years ago
parent
commit
785ab6a3e7
2 changed files with 5 additions and 5 deletions
  1. 1 1
      src/bin/stats/b10-stats.xml
  2. 4 4
      src/bin/stats/stats.py.in

+ 1 - 1
src/bin/stats/b10-stats.xml

@@ -60,7 +60,7 @@
       Command Channel by <command>b10-msgq</command> with other
       modules like <command>bind10</command>, <command>b10-auth</command>
       and so on. <command>b10-stats</command> periodically requests statistics
-      data to each module and receives. The interval time can be configured
+      data from each module. The interval time can be configured
       via <command>bindctl</command>. <command>b10-stats</command> cannot
       accept any command from other modules for updating statistics data. The
       stats module collects data and

+ 4 - 4
src/bin/stats/stats.py.in

@@ -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.