Skip to content

Commit

Permalink
Merge pull request #1585 from DataDog/bryce.kahle/os-release-version-id
Browse files Browse the repository at this point in the history
use VERSION_ID from os-release
  • Loading branch information
shirou committed Jan 21, 2024
2 parents 9b6f828 + d753f78 commit 9de1a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/common_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func GetOSReleaseWithContext(ctx context.Context) (platform string, version stri
switch field[0] {
case "ID": // use ID for lowercase
platform = trimQuotes(field[1])
case "VERSION":
case "VERSION_ID":
version = trimQuotes(field[1])
}
}
Expand Down

0 comments on commit 9de1a42

Please sign in to comment.