Merge from multihop_ssh to nepi-3-dev
[nepi.git] / src / nepi / execution / resource.py
index 9c236ea..49b842b 100644 (file)
@@ -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 keeping a trace of the time """
+
         # Ensure that RM state will not change after released
         if self._state == ResourceState.RELEASED:
             return