diff --git a/connection/http.go b/connection/http.go index 7ae7f4db..4313d3f3 100644 --- a/connection/http.go +++ b/connection/http.go @@ -148,6 +148,7 @@ func NewHTTPConnection(ctx ConnectionContext, conn models.Connection) (HTTPConne var httpConn HTTPConnection switch conn.Type { case models.ConnectionTypeHTTP, models.ConnectionTypePrometheus: + httpConn.URL = conn.URL if err := httpConn.Username.Scan(conn.Username); err != nil { return httpConn, fmt.Errorf("error scanning username: %w", err) }