git://git.onelab.eu
/
nepi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8330840
)
test the mercurial hook for sphinx
author
Julien Tribino
<julien.tribino@inria.fr>
Wed, 18 Dec 2013 15:47:42 +0000
(16:47 +0100)
committer
Julien Tribino
<julien.tribino@inria.fr>
Wed, 18 Dec 2013 15:47:42 +0000
(16:47 +0100)
src/nepi/execution/resource.py
patch
|
blob
|
history
diff --git
a/src/nepi/execution/resource.py
b/src/nepi/execution/resource.py
index
699af31
..
f820408
100644
(file)
--- a/
src/nepi/execution/resource.py
+++ b/
src/nepi/execution/resource.py
@@
-980,6
+980,8
@@
class ResourceManager(Logger):
self.set_state(ResourceState.PROVISIONED, "_provision_time")
def set_state(self, state, state_time_attr):
+ """ Set the state of the RM while saving the time when the state change """
+
# Ensure that RM state will not change after released
if self._state == ResourceState.RELEASED:
return