##// END OF EJS Templates
fix default cluster count
MinRK -
Show More
@@ -47,8 +47,8 class ClusterActionHandler(IPythonHandler):
47 def post(self, profile, action):
47 def post(self, profile, action):
48 cm = self.cluster_manager
48 cm = self.cluster_manager
49 if action == 'start':
49 if action == 'start':
50 n = self.get_argument('n',default=None)
50 n = self.get_argument('n', default=None)
51 if n is None:
51 if not n:
52 data = cm.start_cluster(profile)
52 data = cm.start_cluster(profile)
53 else:
53 else:
54 data = cm.start_cluster(profile, int(n))
54 data = cm.start_cluster(profile, int(n))
General Comments 0
You need to be logged in to leave comments. Login now