mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-01-26 13:47:20 -05:00
Fix format
This commit is contained in:
parent
0fa25eaeca
commit
8ab4146241
@ -61,7 +61,9 @@ def instrument(app: FastAPI):
|
||||
provider = MeterProvider(
|
||||
metric_readers=[
|
||||
PeriodicExportingMetricReader(
|
||||
HttpMetricExporter() if proto == "http/protobuf" else GrpcMetricExporter()
|
||||
HttpMetricExporter()
|
||||
if proto == "http/protobuf"
|
||||
else GrpcMetricExporter()
|
||||
)
|
||||
],
|
||||
resource=resource,
|
||||
|
||||
@ -100,7 +100,6 @@ func main() {
|
||||
}
|
||||
defer cleanup()
|
||||
|
||||
|
||||
metadata, err := src.NewMetadataService()
|
||||
if err != nil {
|
||||
e.Logger.Fatal("failed to create metadata service: ", err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user