Modify noop module code in arch.rst
Synchronize the documentation and code Change-Id: I5f6916dee6519b9ac2b86290b3e691fdc431cb23
This commit is contained in:
parent
50199eb15a
commit
545bf13e71
@ -119,7 +119,7 @@ Example of minimal rating module (taken from the Noop module):
|
||||
for service in cur_usage:
|
||||
for entry in cur_usage[service]:
|
||||
if 'rating' not in entry:
|
||||
entry['rating'] = {'price': 0}
|
||||
entry['rating'] = {'price': decimal.Decimal(0)}
|
||||
return data
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user