Skip to content

Commit e6b0632

Browse files
authored
Merge pull request #42 from eranra/net_cross_1
add infra objects in filter
2 parents b70be3d + 9595804 commit e6b0632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class DefaultConfig {
412412
callback: () => {
413413
var gremlin = "G.V().Has(" +
414414
"'Name','" + name + "'," +
415-
"'Type','" + type + "').descendants(10).SubGraph()"
415+
"'Type','" + type + "').descendants(10).as('k8s').Out().In().Has('Type', 'netns').Descendants(10).as('infra').select('k8s', 'infra').SubGraph()"
416416
window.App.setGremlinFilter(gremlin)
417417
}
418418
}

0 commit comments

Comments
 (0)