Skip to content

Commit c455dda

Browse files
authored
Disable Huawei mirror for Go (#231)
1 parent 109ac59 commit c455dda

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/chsrc-main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* | MadDogOwner <[email protected]>
2828
* | sanchuanhehe <[email protected]>
2929
* | Mikachu2333 <[email protected]>
30+
* | Rui Yang <[email protected]>
3031
* |
3132
* Created On : <2023-08-28>
3233
* Last Modified : <2025-07-12>

src/recipe/lang/Go.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
* -------------------------------------------------------------
44
* File Authors : Aoran Zeng <[email protected]>
55
* Contributors : czyt <[email protected]>
6+
* | Rui Yang <[email protected]>
67
* |
78
* Created On : <2023-08-30>
89
* Major Revision : 1
9-
* Last Modified : <2025-07-11>
10+
* Last Modified : <2025-07-12>
1011
* ------------------------------------------------------------*/
1112

1213
static SourceProvider_t pl_go_upstream =
@@ -39,7 +40,8 @@ static Source_t pl_go_sources[] =
3940
{&pl_go_upstream, "https://proxy.golang.org", NULL},
4041
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
4142
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
42-
{&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
43+
// 注释华为镜像源 详见 https://github.com/RubyMetric/chsrc/issues/227
44+
// {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
4345
{&GoProxyIO, "https://goproxy.io", DelegateToMirror}
4446
};
4547
def_sources_n(pl_go);

0 commit comments

Comments
 (0)