Skip to content

Commit

Permalink
fixup! fixup! Simplify auth.Method interface
Browse files Browse the repository at this point in the history
  • Loading branch information
zeripath committed Jun 21, 2021
1 parent 46cae9d commit 65714ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ func Init() {
}
specialInit()
for _, method := range Methods() {
initalizable, ok := method.(Initializable)
initializable, ok := method.(Initializable)
if !ok {
continue
}

err := initalizable.Init()
err := initializable.Init()
if err != nil {
log.Error("Could not initialize '%s' auth method, error: %s", reflect.TypeOf(method).String(), err)
}
Expand Down

0 comments on commit 65714ff

Please sign in to comment.