示例#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)