Skip to content

Commit

Permalink
Update Sources/Instrumentation/SDKResourceExtension/DataSource/Teleme…
Browse files Browse the repository at this point in the history
…tryDataSource.swift


yes, I don't need to cooerce it as a String. Thanks!

Co-authored-by: Ignacio Bonafonte <nacho.bonafontearruga@datadoghq.com>
  • Loading branch information
vvydier and Ignacio Bonafonte authored Dec 7, 2023
1 parent 648ddcb commit 3056372
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public class TelemetryDataSource: ITelemetryDataSource {

public var version: String? {
// This may not work if this agent is statically built
Bundle(for: type(of: self)).infoDictionary?[Resource.OTEL_SWIFT_SDK_VERSION] as? String
Resource.OTEL_SWIFT_SDK_VERSION
}
}

0 comments on commit 3056372

Please sign in to comment.