mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-05-22 19:51:44 +03:00
allow period at the start of a symbol (#40)
This commit is contained in:
committed by
Joshua Humphries
parent
2ff725abb2
commit
b709105be9
@@ -369,6 +369,10 @@ func main() {
|
||||
symbols = svcs
|
||||
}
|
||||
for _, s := range symbols {
|
||||
if s[0] == '.' {
|
||||
s = s[1:]
|
||||
}
|
||||
|
||||
dsc, err := descSource.FindSymbol(s)
|
||||
if err != nil {
|
||||
fail(err, "Failed to resolve symbol %q", s)
|
||||
|
||||
Reference in New Issue
Block a user