예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
파일: kibosh.py 프로젝트: harshach/kafka
 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)
예제 #4
0
 def free(self):
     Service.free(self)
예제 #5
0
 def free(self):
     Service.free(self)