[procdockerstatsd] Fix CMD field in dB (#4335)
* Fix the CMD for the PROCESSSTATS entries so that there is a space between the command name and the arguments. Signed-off-by: Garrick He <garrick_he@dell.com>
This commit is contained in:
parent
6929d1f3ac
commit
a059d7ec0e
@ -75,7 +75,7 @@ class ProcDockerStats:
|
||||
# To remove extra space before UID
|
||||
val = list(filter(None, values1))
|
||||
# Merging extra columns created due to space in cmd ouput
|
||||
val[8:] = [''.join(val[8:])]
|
||||
val[8:] = [' '.join(val[8:])]
|
||||
process_data = dict(zip(keylist, val))
|
||||
process_data_list.append(process_data)
|
||||
return process_data_list
|
||||
|
Loading…
Reference in New Issue
Block a user