示例#1
0
    def cluster_command(self):
        """
        Route cluster command to appropriate method in Cluster class
        """
        action = Cluster(self.host, self.port)

        if self.action == "health":
            action.cluster_health(self.target_index)
示例#2
0
    def cluster_command(self):
        """
        Route cluster command to appropriate method in Cluster class
        """
        action = Cluster(self.host, self.port)

        if self.action == "health":
            action.cluster_health(self.target_index)