Commit 181aa81
committed
Use correct server's start time
When a machine is resized, rescued or evacuated the server's start_time
(and the usages' start_time) is reset and it does not reflect anymore
the time the instance was created. Instead of relying on that time, we
move to use the server.created time.
This solves the issue of negative accounting times, that happen when an
instance has its start_time reset.
Fixes #561 parent 6f68e12 commit 181aa81
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments