Parcourir la source

[2225_xfrout] s/dump_statistics/get_statistics/

Due to the the method name changed
Naoki Kambe il y a 12 ans
Parent
commit
79a11d19f1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/bin/xfrout/xfrout.py.in

+ 1 - 1
src/bin/xfrout/xfrout.py.in

@@ -1095,7 +1095,7 @@ class XfroutServer:
             # The log level is here set to debug in order to avoid
             # The log level is here set to debug in order to avoid
             # that a log becomes too verbose. Because the b10-stats
             # that a log becomes too verbose. Because the b10-stats
             # daemon is periodically asking to the b10-xfrout daemon.
             # daemon is periodically asking to the b10-xfrout daemon.
-            answer = create_answer(0, self._counters.dump_statistics())
+            answer = create_answer(0, self._counters.get_statistics())
             logger.debug(DBG_XFROUT_TRACE, \
             logger.debug(DBG_XFROUT_TRACE, \
                              XFROUT_RECEIVED_GETSTATS_COMMAND, \
                              XFROUT_RECEIVED_GETSTATS_COMMAND, \
                              str(answer))
                              str(answer))