diff --git a/changelog/unreleased/fix-micro-options.md b/changelog/unreleased/fix-micro-options.md new file mode 100644 index 0000000..9e69f86 --- /dev/null +++ b/changelog/unreleased/fix-micro-options.md @@ -0,0 +1,5 @@ +Bugfix: pass flags to micro service + +Passed flags to the micro service to be able to pass cli arguments while starting a grpc service. + +https://github.com/owncloud/ocis-pkg/pull/44 diff --git a/service/grpc/service.go b/service/grpc/service.go index ddbfa1f..1dbf5c9 100644 --- a/service/grpc/service.go +++ b/service/grpc/service.go @@ -42,7 +42,7 @@ func NewService(opts ...Option) Service { micro.RegisterTTL(time.Second * 30), micro.RegisterInterval(time.Second * 10), micro.Context(sopts.Context), - // micro.Flags(sopts.Flags...), + micro.Flags(sopts.Flags...), } return Service{