Skip to content

Commit

Permalink
rm test env portal address
Browse files Browse the repository at this point in the history
  • Loading branch information
philchia authored May 7, 2020
1 parent f400dc9 commit d4202d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi/openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (a *api) request(method string, url string, body io.Reader) ([]byte, error)

// Envs get all env info
func (a *api) Envs() ([]*Env, error) {
// http://dev-apollo.hellobike.cn:8070/openapi/v1/apps/AppEasybikeGoGateway/envclusters
// http://{portal_address}/openapi/v1/apps/AppEasybikeGoGateway/envclusters
url := fmt.Sprintf("%s/openapi/v1/apps/%s/envclusters", a.portalAddr, a.appid)
bts, err := a.request("GET", url, nil)
if err != nil {
Expand Down

0 comments on commit d4202d7

Please sign in to comment.