File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
crates/stackable-operator/src/commons Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ impl AuthenticationProvider {
116
116
/// path at [`DEFAULT_OIDC_WELLKNOWN_PATH`].
117
117
pub fn endpoint_url ( & self ) -> Result < Url > {
118
118
let mut url = Url :: parse ( & format ! (
119
- "http://{}:{}" ,
120
- self . hostname. as_url_host( ) ,
121
- self . port( )
119
+ "http://{host }:{port }" ,
120
+ host = self . hostname. as_url_host( ) ,
121
+ port = self . port( )
122
122
) )
123
123
. context ( ParseOidcEndpointUrlSnafu ) ?;
124
124
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ impl ResolvedS3Connection {
48
48
/// Build the endpoint URL from this connection
49
49
pub fn endpoint ( & self ) -> Result < Url , S3Error > {
50
50
let mut url = Url :: parse ( & format ! (
51
- "http://{}:{}" ,
52
- self . host. as_url_host( ) ,
53
- self . port( )
51
+ "http://{host }:{port }" ,
52
+ host = self . host. as_url_host( ) ,
53
+ port = self . port( )
54
54
) )
55
55
. context ( ParseS3EndpointSnafu ) ?;
56
56
You can’t perform that action at this time.
0 commit comments