resolve linter issues
This commit is contained in:
committed by
Phil Davis
parent
17711526e5
commit
bb9c3db982
@@ -203,13 +203,15 @@ func StorageMetadata(cfg *config.Config) *cli.Command {
|
||||
})
|
||||
}
|
||||
|
||||
external.RegisterGRPCEndpoint(
|
||||
if err := external.RegisterGRPCEndpoint(
|
||||
ctx,
|
||||
"com.owncloud.storage.metadata",
|
||||
uuid.Must(uuid.NewV4()).String(),
|
||||
cfg.Reva.StorageMetadata.GRPCAddr,
|
||||
logger,
|
||||
)
|
||||
); err != nil {
|
||||
logger.Fatal().Err(err).Msg("failed to register the grpc endpoint")
|
||||
}
|
||||
|
||||
return gr.Run()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user