Rename commands and flagset

This commit is contained in:
Michael Barz
2020-10-06 13:41:34 +02:00
parent 9ff3ffe19f
commit e946819c3a
47 changed files with 471 additions and 471 deletions
+5 -5
View File
@@ -11,16 +11,16 @@ import (
"github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run"
"github.com/owncloud/ocis/ocis-reva/pkg/config"
"github.com/owncloud/ocis/ocis-reva/pkg/flagset"
"github.com/owncloud/ocis/ocis-reva/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/owncloud/ocis/storage/pkg/server/debug"
)
// Sharing is the entrypoint for the sharing command.
func Sharing(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "sharing",
Usage: "Start reva sharing service",
Usage: "Start sharing service",
Flags: flagset.SharingWithConfig(cfg),
Before: func(c *cli.Context) error {
cfg.Reva.Sharing.Services = c.StringSlice("service")
@@ -40,7 +40,7 @@ func Sharing(cfg *config.Config) *cli.Command {
case "jaeger":
logger.Info().
Str("type", t).
Msg("configuring reva to use the jaeger tracing backend")
Msg("configuring storage to use the jaeger tracing backend")
case "zipkin":
logger.Error().