mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-26 08:09:30 -04:00
resolve linter issues
This commit is contained in:
6 files changed
+29
-49
No files matched your search
@@ -59,7 +59,9 @@ func Server(opts ...Option) (svc.Service, error) {
|
||||
svc.Flags(options.Flags...),
|
||||
)
|
||||
|
||||
micro.RegisterHandler(service.Server(), chain)
|
||||
if err := micro.RegisterHandler(service.Server(), chain); err != nil {
|
||||
return svc.Service{}, err
|
||||
}
|
||||
|
||||
service.Init()
|
||||
return service, nil
|
||||
|
||||
Reference in new issue
Block a user