mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Ensuring that null or empty settings return as empty strings (#9980)
This relates to #9310
This commit is contained in:
parent
bb1ae51128
commit
288c490f56
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ func getCmdResponseData(outputCmd string) (string, error) {
|
|||
// extracting the data from the result
|
||||
workStr := element.Item[0].Data
|
||||
if len(workStr) == 0 {
|
||||
workStr = "data_not_set" // default value for empty data
|
||||
workStr = "" // default value for empty data
|
||||
}
|
||||
responseData += workStr
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue