Skip to content
Snippets Groups Projects
Commit 10852adb authored by Iustin Pop's avatar Iustin Pop
Browse files

hspace: mark new instances as running

Otherwise the saved cluster state and the in-memory one are wrong.
parent 3e9501d0
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,7 @@ main = do
-- utility functions
let iofspec spx = Instance.create "new" (rspecMem spx) (rspecDsk spx)
(rspecCpu spx) "ADMIN_down" [] (-1) (-1)
(rspecCpu spx) "running" [] (-1) (-1)
exitifbad val = (case val of
Bad s -> do
hPrintf stderr "Failure: %s\n" s :: IO ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment