Skip to content

Commit

Permalink
*: tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuyesuifeng committed Oct 23, 2019
1 parent 9cd38b9 commit ec0397e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infoschema/inspection/inspection.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (i *InspectionHelper) initProm() error {

var err error
i.promClient, err = api.NewClient(api.Config{
Address: promAddr,
Address: fmt.Sprintf("http://%s", promAddr),
})
if err != nil {
return errors.Trace(err)
Expand Down

0 comments on commit ec0397e

Please sign in to comment.