fix: clean server struct once it gets to the handler
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
1 parent
5a9f0a0d81
commit
f1c86054b3
4 files changed
+16
-9
No files matched your search
@@ -99,7 +99,6 @@ func readConf(path string) (*oldConf, error) {
|
||||
}
|
||||
|
||||
func importConf(db *storm.DB, path string, sto *storage.Storage) error {
|
||||
|
||||
cfg, err := readConf(path)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user