Lior Vernia has uploaded a new change for review.

Change subject: restapi: Fix wrong statistics description
......................................................................

restapi: Fix wrong statistics description

"transmit" was copy/pasted to the "receive" statistic as well. Also
fixed some weird spacing.

Change-Id: I1cefa60e98df8aa820432221a3731be1601136a4
Signed-off-by: Lior Vernia <[email protected]>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/NicStatisticalQuery.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/66/36466/1

diff --git 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/NicStatisticalQuery.java
 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/NicStatisticalQuery.java
index 1bfefb3..91edee2 100644
--- 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/NicStatisticalQuery.java
+++ 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/NicStatisticalQuery.java
@@ -15,8 +15,8 @@
 
     private static final Statistic DATA_RX = create("data.current.rx", 
"Receive data rate",  GAUGE,   BYTES_PER_SECOND, DECIMAL);
     private static final Statistic DATA_TX = create("data.current.tx", 
"Transmit data rate", GAUGE,   BYTES_PER_SECOND, DECIMAL);
-    private static final Statistic ERRS_RX = create("errors.total.rx", "Total 
transmit errors",     COUNTER, NONE,            INTEGER);
-    private static final Statistic ERRS_TX = create("errors.total.tx", "Total 
transmit errors",        COUNTER, NONE,            INTEGER);
+    private static final Statistic ERRS_RX = create("errors.total.rx", "Total 
receive errors", COUNTER, NONE, INTEGER);
+    private static final Statistic ERRS_TX = create("errors.total.tx", "Total 
transmit errors", COUNTER, NONE, INTEGER);
 
     protected NicStatisticalQuery(NIC parent) {
         this(null, parent);


-- 
To view, visit http://gerrit.ovirt.org/36466
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1cefa60e98df8aa820432221a3731be1601136a4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to