Repo Added
|
Files
145
|
Badge
README BADGES
|
gitlab-ci
fix: improve mender-inventory-provides's `device_type` extraction logic from the Mender configuration file - Add support for reading the paths from env variables `MENDER_CONF_DIR` and `MENDER_DATASTORE_DIR` when relocating the device_type file. - Implement configuration parsing to extract `DeviceTypeFile` from `mender.conf` despite its location. - Fallback to the default `device_type` file if `DeviceTypeFile` is not set or the extracted file path does not exist. Changelog: Fix inventory reporting of device_type to correctly select the file based on Mender configuration and Mender environment variables Ticket: None Signed-off-by: Luis Ramirez <luis.ramirez@northern.tech> Signed-off-by: Lluis Campos <lluis.campos@northern.tech> (cherry picked from commit adf65a972)
7213 of 9047 relevant lines covered (79.73%)
12093.78 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|
Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
---|---|---|---|---|---|---|---|
1587434209 | pr_1717 | fix: improve mender-inventory-provides's `device_type` extraction logic from the Mender configuration file - Add support for reading the paths from env variables `MENDER_CONF_DIR` and `MENDER_DATASTORE_DIR` when relocating the device_type file. -... | Pull #1717 | Mender | gitlab-ci |
79.73 |