git://git.onelab.eu
/
myops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add scripts to create myops-getqueryview:
[myops.git]
/
web
/
query
/
views
/
host-to-rpm
/
reduce.js
diff --git a/web/query/views/host-to-rpm/reduce.js
b/web/query/views/host-to-rpm/reduce.js
new file mode 100644
(file)
index 0000000..
f22181d
--- /dev/null
+++ b/
web/query/views/host-to-rpm/reduce.js
@@ -0,0
+1,4
@@
+function(keys, values) {
+
+ return sum(values);
+}