Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(OSRelease): add fallback when os-release file is not in key = value format #479

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

gillesdubois
Copy link
Member

Status

READY

Description

In the case the os-release file is not using the standard KEY=VALUE format, it trigger and error and no OS is retrived

Test environment

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Rhel 9
  • Rhel 7

OCS Inventory informations

Unix agent version : latest

Impacted Areas in Application

List general components of the application that this PR will affect:

  • OS Retrieval

@Lea9250 Lea9250 merged commit 87eb26f into master Aug 13, 2024
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.

2 participants