projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9675661
)
Fix network query for extra stats fields
author
Helga Velroyen
<helgav@google.com>
Tue, 27 Nov 2012 17:33:40 +0000
(18:33 +0100)
committer
Helga Velroyen
<helgav@google.com>
Tue, 27 Nov 2012 17:57:46 +0000
(18:57 +0100)
Extend _GetNetworkStatsField() to accept 4 arguments.
This fixes Issue 323.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/query.py
patch
|
blob
|
history
diff --git
a/lib/query.py
b/lib/query.py
index
a3e5224
..
7efdaa4
100644
(file)
--- a/
lib/query.py
+++ b/
lib/query.py
@@
-2496,7
+2496,7
@@
_NETWORK_STATS_FIELDS = {
}
-def _GetNetworkStatsField(field, kind, ctx):
+def _GetNetworkStatsField(field, kind, ctx, _):
"""Gets the value of a "stats" field from L{NetworkQueryData}.
@param field: Field name