remove version from service config

This commit is contained in:
Willy Kloucek
2022-01-03 16:24:39 +01:00
parent 55bf175bea
commit 3d4df5796a
40 changed files with 70 additions and 58 deletions
+1 -4
View File
@@ -1,7 +1,5 @@
package config
import "github.com/owncloud/ocis/ocis-pkg/version"
func DefaultConfig() *Config {
return &Config{
Debug: Debug{
@@ -17,8 +15,7 @@ func DefaultConfig() *Config {
CacheTTL: 604800, // 7 days
},
Service: Service{
Name: "web",
Version: version.String, // TODO: ensure everywhere or remove
Name: "web",
},
Tracing: Tracing{
Enabled: false,
+1 -2
View File
@@ -2,6 +2,5 @@ package config
// Service defines the available service configuration.
type Service struct {
Name string
Version string
Name string
}