Fix autoscaler format string for memory (#5542)

* add format string

* fix cast
This commit is contained in:
Eric Liang
2019-08-26 23:25:11 -07:00
committed by GitHub
parent ff73b67154
commit d20696300e
3 changed files with 24 additions and 7 deletions
+1 -1
View File
@@ -1301,7 +1301,7 @@ def _start_plasma_store(plasma_store_memory,
"plasma_directory argument must be provided.")
if not isinstance(plasma_store_memory, int):
raise Exception("plasma_store_memory should be an integer.")
plasma_store_memory = int(plasma_store_memory)
command = [
PLASMA_STORE_EXECUTABLE, "-s", socket_name, "-m",