mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
Eliminate some TODOs
This commit is contained in:
parent
e73b117332
commit
f15f0d5839
9 changed files with 15 additions and 15 deletions
2
caddy.go
2
caddy.go
|
@ -93,7 +93,7 @@ func Run(newCfg *Config) error {
|
|||
return fmt.Errorf("creating storage value: %v", err)
|
||||
}
|
||||
newCfg.storage = stor
|
||||
newCfg.StorageRaw = nil // allow GC to deallocate - TODO: Does this help?
|
||||
newCfg.StorageRaw = nil // allow GC to deallocate
|
||||
}
|
||||
if newCfg.storage == nil {
|
||||
newCfg.storage = &certmagic.FileStorage{Path: dataDir()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue