mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix error message
This commit is contained in:
parent
74736fafa8
commit
00d9594ea5
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func InjectDatabase(name string, storageInt storage.Interface) (*Controller, err
|
|||
|
||||
_, ok := controllers[name]
|
||||
if ok {
|
||||
return nil, errors.New(`database "%s" already loaded`)
|
||||
return nil, fmt.Errorf(`database "%s" already loaded`, name)
|
||||
}
|
||||
|
||||
registryLock.Lock()
|
||||
|
|
Loading…
Add table
Reference in a new issue