mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-05 02:20:28 -05:00
remove version from service config
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -2,6 +2,5 @@ package config
|
||||
|
||||
// Service defines the available service configuration.
|
||||
type Service struct {
|
||||
Name string
|
||||
Version string
|
||||
Name string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user