1. galaxy
  2. cloudman

Commits

nuwan_ag  committed 01df31f

Fixed bug in default size handling during cluster initialisation

  • Participants
  • Parent commits 455b444
  • Branches default

Comments (0)

Files changed (1)

File cm/controllers/root.py

View file
                                 ss = x
                         pss = ss
                 else:
-                    pss = self.app.manager.get_default_data_size()
+                    pss = str(self.app.manager.get_default_data_size())
                 if pss and pss.isdigit():
-                    pss = int(pss)
-                    self.app.manager.init_cluster(startup_opt, pss)
+                    pss_int = int(pss)
+                    self.app.manager.init_cluster(startup_opt, pss_int)
                     return self.instance_state_json(trans)
                 else:
                     msg = "Wrong or no value provided for the persistent "\