mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
move config validation into a separate function
This commit is contained in:
@@ -29,5 +29,9 @@ func ParseConfig(cfg *config.Config) error {
|
||||
|
||||
defaults.Sanitize(cfg)
|
||||
|
||||
return Validate(cfg)
|
||||
}
|
||||
|
||||
func Validate(cfg *config.Config) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user