Skip to content

Commit cfac373

Browse files
committed
placate lint
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 3a4adfd commit cfac373

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/login_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (typ LoginType) String() string {
3636
return LoginNames[typ]
3737
}
3838

39-
// String returns the string name of the LoginType
39+
// Int returns the int value of the LoginType
4040
func (typ LoginType) Int() int {
4141
return int(typ)
4242
}

services/auth/source/ldap/security_protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func (s SecurityProtocol) String() string {
1919
return SecurityProtocolNames[s]
2020
}
2121

22-
// String returns the name of the SecurityProtocol
22+
// Int returns the int value of the SecurityProtocol
2323
func (s SecurityProtocol) Int() int {
2424
return int(s)
2525
}

0 commit comments

Comments
 (0)