mtce daemon_get_file_str returns first word not full string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Eric MacDonald |
Bug Description
The common daemon_get_file_str returns the first word of the first line not the entire first line of the specified file as was intended.
Want to use this function in another update but don`t want this to be tied to that update.
Severity:
--------
Minor since the only place its used has only a single word in the file.
Steps to Reproduce:
------------------
Call function with filename parameter referring to a file containing a space delimited sentence in the first line.
Expected Behavior
------------------
returns string with the full first line
Actual Behavior
----------------
Returns only the first word in the line
Reproducibility
---------------
100%
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
All
Last Pass
---------
Not tested
Timestamp/Logs
--------------
Not applicable
Test Activity
-------------
Developer
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Eric MacDonald (rocksolidmtce) |
tags: | added: stx.metal |
Changed in starlingx: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. opendev. org/753481
Review: https:/