fix ocis startup with debugging config / environment variables only

This commit is contained in:
Willy Kloucek
2022-04-28 16:28:12 +02:00
parent ed1c459d98
commit 4e531ca442
5 changed files with 40 additions and 12 deletions
@@ -35,7 +35,7 @@ func ParseConfig(cfg *config.Config) error {
}
func Validate(cfg *config.Config) error {
if cfg.TransferSecret == "" {
if cfg.Thumbnail.TransferSecret == "" {
return fmt.Errorf("reva transfer secret is not set up properly, bailing out (%s)", cfg.Service.Name)
}