Skip to content

Commit 09292dc

Browse files
committed
fix #152
1 parent 4d75bf4 commit 09292dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ func (pc *ProxyChecker) updateProxyName(res *Result, httpClient *ProxyClient, sp
340340
}
341341
}
342342

343-
if tag := res.Proxy["sub_tag"].(string); tag != "" {
343+
if tag, ok := res.Proxy["sub_tag"].(string); ok && tag != "" {
344344
tags = append(tags, tag)
345345
}
346346

0 commit comments

Comments
 (0)