git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use granularity from config
[plcapi.git]
/
PLC
/
Methods
/
GetSlivers.py
diff --git
a/PLC/Methods/GetSlivers.py
b/PLC/Methods/GetSlivers.py
index
9f86615
..
e7844f0
100644
(file)
--- a/
PLC/Methods/GetSlivers.py
+++ b/
PLC/Methods/GetSlivers.py
@@
-324,7
+324,7
@@
class GetSlivers(Method):
'clip': (timestamp, timestamp+24*Duration.HOUR),
'-SORT': 't_from',
}) ]
- granularity=
Lease.granularity
+ granularity=
self.api.config.PLC_RESERVATION_GRANULARITY
return {
'timestamp': timestamp,