Skip to content

Commit a8ddd1f

Browse files
committedMay 24, 2019
Fix config release
1 parent 75c92bb commit a8ddd1f

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed
 

‎dist/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ G.V().Has('Name', 'br-int').Flows()
4747
```
4848

4949
Refer to the
50-
[Skydive Gremlin section](http://skydive-project.github.io/skydive/getting-started/gremlin/)
50+
[Skydive Gremlin section](http://skydive.network/documentation/api-gremlin)
5151
for further explanations about the syntax and the functions available.
5252

5353
## Contact

‎dist/config_ctrl.js

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/config_ctrl.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plugin.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
],
2828
"version": "1.2.0",
29-
"updated": "2019-03-29"
29+
"updated": "2019-05-20"
3030
},
3131
"dependencies": {
3232
"grafanaVersion": "3.x.x",

‎src/config_ctrl.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export class SkydiveConfigCtrl {
55
this.scope = $scope;
66

77
this.versionFields = [
8+
{ text: ">= 0.23", value: "0.23" },
89
{ text: ">= 0.22", value: "0.22" },
910
{ text: ">= 0.10", value: "0.10" },
1011
{ text: "0.9", value: "0.9" }

‎src/metrics.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ Metrics["Interface"] = {
195195
}
196196

197197
export function TypeByKeys(keys) {
198-
if (keys.indexOf("Driver") >= 0) {
199-
return "Interface";
198+
if (keys.indexOf("Filters") >= 0 && keys.indexOf("Actions") >= 0) {
199+
return "OpenFlow";
200200
} else if (keys.indexOf("TrackingID") >= 0) {
201201
return "Flow";
202-
} else if (keys.indexOf("Filters") >= 0 && keys.indexOf("Actions")) {
203-
return "OpenFlow";
202+
} else {
203+
return "Interface";
204204
}
205205

206206
return {}

0 commit comments

Comments
 (0)