File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ main = do
6060 case args of
6161 [ "controller", host, port] -> do
6262 backend <- initializeBackend host port initRemoteTable
63- startController backend (controller backend)
63+ startMaster backend (controller backend)
6464 [ "worker", host, port] -> do
6565 backend <- initializeBackend host port initRemoteTable
66- startWorker backend
66+ startSlave backend
6767
6868{% endhighlight %}
6969
@@ -75,7 +75,7 @@ controller backend workers = do
7575 -- Do something interesting with the workers
7676 liftIO . putStrLn $ "Workers: " ++ show workers
7777 -- Terminate the workers when the controller terminates (this is optional)
78- terminateAllWorkers backend
78+ terminateAllSlaves backend
7979{% endhighlight %}
8080
8181### Other Topologies and Backends
You can’t perform that action at this time.
0 commit comments