File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
crates/stackable-operator/src/commons Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ pub enum Error {
35
35
) ]
36
36
#[ serde( rename_all = "camelCase" ) ]
37
37
pub struct AuthenticationProvider {
38
- /// Host of the LDAP server, for example: `my.ldap.server`.
38
+ /// Host of the LDAP server, for example: `my.ldap.server` or `127.0.0.1` .
39
39
pub hostname : Host ,
40
40
41
41
/// Port of the LDAP server. If TLS is used defaults to 636 otherwise to 389.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pub enum Error {
42
42
) ]
43
43
#[ serde( rename_all = "camelCase" ) ]
44
44
pub struct AuthenticationProvider {
45
- /// Host of the identity provider, e.g. `my.keycloak.corp`.
45
+ /// Host of the identity provider, e.g. `my.keycloak.corp` or `127.0.0.1` .
46
46
hostname : Host ,
47
47
48
48
/// Port of the identity provider. If TLS is used defaults to 443,
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ impl TryFrom<String> for Host {
93
93
94
94
impl From < Host > for String {
95
95
fn from ( value : Host ) -> Self {
96
- format ! ( "{ value}" )
96
+ value. to_string ( )
97
97
}
98
98
}
99
99
You can’t perform that action at this time.
0 commit comments