From 003242a07d437f1ef3e8074a50a9a70ac476af0e Mon Sep 17 00:00:00 2001 From: Andrew Woloszyn Date: Fri, 1 Jun 2018 10:05:41 -0400 Subject: [PATCH] Allow wildcards in gapit state filter. This helps getting specific information out of the gapit state. --- cmd/gapit/state.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/gapit/state.go b/cmd/gapit/state.go index 3afbb614d1..36d0bcd3cd 100644 --- a/cmd/gapit/state.go +++ b/cmd/gapit/state.go @@ -136,7 +136,8 @@ func traverseStateTree( } nextFilter := filter - if len(filter) != 0 && filter[0] != n.Name { + if len(filter) != 0 && + (filter[0] != n.Name && filter[0] != "*") { return nil } if len(filter) != 0 {