add description tags to thumbnails config

This commit is contained in:
David Christofas
2022-05-10 10:31:36 +02:00
parent 9ef68fdcfd
commit 4b7a365781
11 changed files with 51 additions and 81 deletions
@@ -6,7 +6,6 @@ import (
"github.com/owncloud/ocis/v2/extensions/thumbnails/pkg/config"
"github.com/owncloud/ocis/v2/extensions/thumbnails/pkg/config/defaults"
ociscfg "github.com/owncloud/ocis/v2/ocis-pkg/config"
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
"github.com/owncloud/ocis/v2/ocis-pkg/config/envdecode"
)
@@ -35,9 +34,5 @@ func ParseConfig(cfg *config.Config) error {
}
func Validate(cfg *config.Config) error {
if cfg.Thumbnail.TransferSecret == "" {
return shared.MissingRevaTransferSecretError(cfg.Service.Name)
}
return nil
}