We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4adfd commit cfac373Copy full SHA for cfac373
models/login_source.go
@@ -36,7 +36,7 @@ func (typ LoginType) String() string {
36
return LoginNames[typ]
37
}
38
39
-// String returns the string name of the LoginType
+// Int returns the int value of the LoginType
40
func (typ LoginType) Int() int {
41
return int(typ)
42
services/auth/source/ldap/security_protocol.go
@@ -19,7 +19,7 @@ func (s SecurityProtocol) String() string {
19
return SecurityProtocolNames[s]
20
21
22
-// String returns the name of the SecurityProtocol
+// Int returns the int value of the SecurityProtocol
23
func (s SecurityProtocol) Int() int {
24
return int(s)
25
0 commit comments