Remove TODOs

This commit is contained in:
Roberto Jimenez Sanchez
2025-07-11 23:02:19 +02:00
committed by Roberto Jiménez Sánchez
parent acd6df6b89
commit cff66e8b45
-5
View File
@@ -14,13 +14,8 @@ import (
)
func (b *APIBuilder) collectProvisioningStats(ctx context.Context) (metrics map[string]any, err error) {
// TODO: tracer
ctx, span := b.tracer.Start(ctx, "Provisioning.Usage.collectProvisioningStats")
defer func() {
if err != nil {
// TODO: log it as warning
}
span.SetStatus(codes.Error, fmt.Sprintf("failed to fetch provisioning usage stats: %v", err))
span.End()
}()