Fix recording failure for system pollster
The parameter "cumulative" was interpreted as a list and could
not be recognized as a valid Type for SQL query hence failing
to record the data for the pollster.
The presence of ',' operator in the pollster class after the term
CUMULATIVE caused it to be treated as a list
This is corrected to interpret the field as a string which will
be successfully recorded to the meter database.
Change-Id: I10a69134a7f0c42a3e6c0d9bb7568e8d8fd2a932
Closes-Bug: 1378742
(cherry picked from commit f8f63d4b15
)
This commit is contained in:
parent
5b966ba778
commit
9899b6f12f
|
@ -40,11 +40,11 @@ class SystemCpuIdlePollster(_SystemBase):
|
|||
|
||||
class SystemIORawSentPollster(_SystemBase):
|
||||
IDENTIFIER = 'system_stats.io.outgoing.blocks'
|
||||
TYPE = sample.TYPE_CUMULATIVE,
|
||||
TYPE = sample.TYPE_CUMULATIVE
|
||||
UNIT = 'blocks'
|
||||
|
||||
|
||||
class SystemIORawReceivedPollster(_SystemBase):
|
||||
IDENTIFIER = 'system_stats.io.incoming.blocks'
|
||||
TYPE = sample.TYPE_CUMULATIVE,
|
||||
TYPE = sample.TYPE_CUMULATIVE
|
||||
UNIT = 'blocks'
|
||||
|
|
Loading…
Reference in New Issue