Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit c47d66b

Browse files
authored
change 'WebAPIEndpoint' config usage
1 parent 71d43d2 commit c47d66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/web.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ func New(logger log.Logger, o *Options) *Handler {
345345
fmt.Fprintf(w, "Prometheus is Unhealthy: still waiting on V3IO storage.\n")
346346
return
347347
}
348-
schemaUrl := "http://" + path.Join(o.V3ioConfig.WebApiEndpoint, o.V3ioConfig.Container, o.V3ioConfig.TablePath, ".schema")
348+
schemaUrl := "http://" + path.Join(o.V3ioConfig.WebAPIEndpoint, o.V3ioConfig.Container, o.V3ioConfig.TablePath, ".schema")
349349
req, err := http.NewRequest("GET", schemaUrl, nil)
350350
if err != nil {
351351
w.WriteHeader(http.StatusInternalServerError)

0 commit comments

Comments
 (0)