SecretsManager: fix span name for SetVersion operations (#110035)

SecretsManager: fix span name for SetVersion operations
This commit is contained in:
lean.dev 2025-08-22 13:01:41 +01:00 committed by GitHub
parent d2ec846224
commit 21fc58f632
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ func (s *secureValueMetadataStorage) List(ctx context.Context, namespace xkube.N
}
func (s *secureValueMetadataStorage) SetVersionToActive(ctx context.Context, namespace xkube.Namespace, name string, version int64) error {
ctx, span := s.tracer.Start(ctx, "SecureValueMetadataStorage.SetExternalID", trace.WithAttributes(
ctx, span := s.tracer.Start(ctx, "SecureValueMetadataStorage.SetVersionToActive", trace.WithAttributes(
attribute.String("name", name),
attribute.String("namespace", namespace.String()),
attribute.Int64("version", version),
@ -413,7 +413,7 @@ func (s *secureValueMetadataStorage) SetVersionToActive(ctx context.Context, nam
}
func (s *secureValueMetadataStorage) SetVersionToInactive(ctx context.Context, namespace xkube.Namespace, name string, version int64) error {
ctx, span := s.tracer.Start(ctx, "SecureValueMetadataStorage.SetExternalID", trace.WithAttributes(
ctx, span := s.tracer.Start(ctx, "SecureValueMetadataStorage.SetVersionToInactive", trace.WithAttributes(
attribute.String("name", name),
attribute.String("namespace", namespace.String()),
attribute.Int64("version", version),