(s string)
| 1056 | } |
| 1057 | |
| 1058 | func getNetwork(s string) *net.IPNet { |
| 1059 | if !strings.Contains(s, `/`) { |
| 1060 | s += "/32" |
| 1061 | } |
| 1062 | _, ipnet, _ := net.ParseCIDR(s) |
| 1063 | return ipnet |
| 1064 | } |
| 1065 | |
| 1066 | const killQueryPattern = "KILL QUERY WHERE query_id" |
| 1067 |
no test coverage detected