feat: add commit HASH to extra v2
This commit is contained in:
parent
7b77b355de
commit
2ab1b3cc12
@ -116,7 +116,7 @@ func register (host string) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
register_extra = os.Getenv("ECHO_APP_ID") + {{.CommitID}}
|
register_extra = os.Getenv("ECHO_APP_ID") + "{{.CommitID}}"
|
||||||
// 注册,直接将元信息放在 ws 地址中
|
// 注册,直接将元信息放在 ws 地址中
|
||||||
v := url.Values{}
|
v := url.Values{}
|
||||||
v.Set("hostname", ps.hostname)
|
v.Set("hostname", ps.hostname)
|
||||||
|
Loading…
Reference in New Issue
Block a user