mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-06-21 14:29:00 -04:00
pass flags to micro service
This commit is contained in:
5
changelog/unreleased/fix-micro-options.md
Normal file
5
changelog/unreleased/fix-micro-options.md
Normal file
@@ -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/55555
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user