Skip to content

BuildUserAgent method support OS name parsing with and without spaces - #206

Open
shettyprathik wants to merge 1 commit into
hashicorp:mainfrom
shettyprathik:main
Open

BuildUserAgent method support OS name parsing with and without spaces#206
shettyprathik wants to merge 1 commit into
hashicorp:mainfrom
shettyprathik:main

Conversation

@shettyprathik

Copy link
Copy Markdown

Description

Checks if the OSDescription contains space if yes return the distro name else the entire string

Resolves #205

How has this been tested?

  • Ran on aspnet-runtime-fips chainguard image where the PRETTY_NAME="Chainguard"

@shettyprathik
shettyprathik requested a review from a team as a code owner September 8, 2025 15:12
@hashicorp-cla-app

hashicorp-cla-app Bot commented Sep 8, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BuildUserAgent function throws error when OS name is single worded in etc/os-release

1 participant