mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-28 22:55:50 +08:00
Eliminate some TODOs
This commit is contained in:
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()}
|
||||
|
Reference in New Issue
Block a user