Add param WeaveScopeHost

Signed-off-by: Zhengyi Lai <zheng1@yunify.com>
This commit is contained in:
Zhengyi Lai
2020-11-04 23:21:28 +08:00
parent 0b18c571a4
commit c8f814acf2
4 changed files with 10 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ import (
const ScopeQueryUrl = "http://%s/api/topology/services"
type handler struct {
// if weave scope installed in the cluster, it is maybe `weave-scope-app.weave`
weaveScopeHost string
}