Ver Fonte

allow multiple params for sumSeriesWithWildcards

Niku Toivola há 11 anos atrás
pai
commit
0a561e5aeb
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      src/app/services/graphite/gfunc.js

+ 6 - 1
src/app/services/graphite/gfunc.js

@@ -157,7 +157,12 @@ function (_) {
   addFuncDef({
   addFuncDef({
     name: 'sumSeriesWithWildcards',
     name: 'sumSeriesWithWildcards',
     category: categories.Combine,
     category: categories.Combine,
-    params: [{ name: "node", type: "int" }],
+    params: [
+      { name: "node", type: "int" },
+      { name: "node", type: "int", optional: true },
+      { name: "node", type: "int", optional: true },
+      { name: "node", type: "int", optional: true }
+    ],
     defaultParams: [3]
     defaultParams: [3]
   });
   });