diff --git a/pkg/command/konnectd.go b/pkg/command/konnectd.go index 645221907..9d16d3ccc 100644 --- a/pkg/command/konnectd.go +++ b/pkg/command/konnectd.go @@ -11,7 +11,6 @@ import ( "github.com/owncloud/ocis-konnectd/pkg/metrics" "github.com/owncloud/ocis-konnectd/pkg/server/http" "github.com/owncloud/ocis/pkg/config" - "github.com/owncloud/ocis/pkg/register" ) // KonnectdCommand is the entrypoint for the konnectd command. @@ -78,7 +77,7 @@ func configureKonnectd(cfg *config.Config) *svcconfig.Config { return cfg.Konnectd } -func init() { - register.AddCommand(KonnectdCommand) - register.AddHandler(KonnectdHandler) -} +// func init() { +// register.AddCommand(KonnectdCommand) +// register.AddHandler(KonnectdHandler) +// } diff --git a/pkg/command/ocs.go b/pkg/command/ocs.go index 281e78a9c..c24018310 100644 --- a/pkg/command/ocs.go +++ b/pkg/command/ocs.go @@ -11,7 +11,6 @@ import ( "github.com/owncloud/ocis-ocs/pkg/metrics" "github.com/owncloud/ocis-ocs/pkg/server/http" "github.com/owncloud/ocis/pkg/config" - "github.com/owncloud/ocis/pkg/register" ) // OCSCommand is the entrypoint for the ocs command. @@ -78,7 +77,7 @@ func configureOCS(cfg *config.Config) *svcconfig.Config { return cfg.OCS } -func init() { - register.AddCommand(OCSCommand) - register.AddHandler(OCSHandler) -} +// func init() { +// register.AddCommand(OCSCommand) +// register.AddHandler(OCSHandler) +// } diff --git a/pkg/command/phoenix.go b/pkg/command/phoenix.go index 2e210e48a..8fad51110 100644 --- a/pkg/command/phoenix.go +++ b/pkg/command/phoenix.go @@ -11,7 +11,6 @@ import ( "github.com/owncloud/ocis-phoenix/pkg/metrics" "github.com/owncloud/ocis-phoenix/pkg/server/http" "github.com/owncloud/ocis/pkg/config" - "github.com/owncloud/ocis/pkg/register" ) // PhoenixCommand is the entrypoint for the phoenix command. @@ -78,7 +77,7 @@ func configurePhoenix(cfg *config.Config) *svcconfig.Config { return cfg.Phoenix } -func init() { - register.AddCommand(PhoenixCommand) - register.AddHandler(PhoenixHandler) -} +// func init() { +// register.AddCommand(PhoenixCommand) +// register.AddHandler(PhoenixHandler) +// } diff --git a/pkg/command/webdav.go b/pkg/command/webdav.go index 219ab8b3f..bf1283c0a 100644 --- a/pkg/command/webdav.go +++ b/pkg/command/webdav.go @@ -11,7 +11,6 @@ import ( "github.com/owncloud/ocis-webdav/pkg/metrics" "github.com/owncloud/ocis-webdav/pkg/server/http" "github.com/owncloud/ocis/pkg/config" - "github.com/owncloud/ocis/pkg/register" ) // WebDAVCommand is the entrypoint for the webdav command. @@ -78,7 +77,7 @@ func configureWebDAV(cfg *config.Config) *svcconfig.Config { return cfg.WebDAV } -func init() { - register.AddCommand(WebDAVCommand) - register.AddHandler(WebDAVHandler) -} +// func init() { +// register.AddCommand(WebDAVCommand) +// register.AddHandler(WebDAVHandler) +// }