| Index: server/prpc/auth.go
|
| diff --git a/server/prpc/auth.go b/server/prpc/auth.go
|
| index 62d7793333f4469e044e8693fc9ca70072c21f71..2931b6d3a0408d7884f3749063f154b69ca115b3 100644
|
| --- a/server/prpc/auth.go
|
| +++ b/server/prpc/auth.go
|
| @@ -20,12 +20,12 @@ var defaultAuth = struct {
|
| // Panics if a is nil or called twice.
|
| func RegisterDefaultAuth(a auth.Authenticator) {
|
| if a == nil {
|
| - panicf("a is nil")
|
| + panic("a is nil")
|
| }
|
| defaultAuth.Lock()
|
| defer defaultAuth.Unlock()
|
| if defaultAuth.Authenticator != nil {
|
| - panicf("default prpc authenticator is already set")
|
| + panic("default prpc authenticator is already set")
|
| }
|
| defaultAuth.Authenticator = a
|
| }
|
|
|