def free(self): # We only want to deallocate the coordinator node, not the agent nodes. So we # change self.nodes to include only the coordinator node, and then invoke # the base class' free method. if self.coordinator_node is not None: self.nodes = [self.coordinator_node] self.coordinator_node = None Service.free(self)
def free(self): """Clear the nodes list.""" # Because the filesystem runs on nodes which have been allocated by other services, those nodes # are not deallocated here. self.nodes = [] Service.free(self)
def free(self): Service.free(self)