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
60
60
case args of
61
61
[ "controller", host, port] -> do
62
62
backend <- initializeBackend host port initRemoteTable
63
- startController backend (controller backend)
63
+ startMaster backend (controller backend)
64
64
[ "worker", host, port] -> do
65
65
backend <- initializeBackend host port initRemoteTable
66
- startWorker backend
66
+ startSlave backend
67
67
68
68
{% endhighlight %}
69
69
@@ -75,7 +75,7 @@ controller backend workers = do
75
75
-- Do something interesting with the workers
76
76
liftIO . putStrLn $ "Workers: " ++ show workers
77
77
-- Terminate the workers when the controller terminates (this is optional)
78
- terminateAllWorkers backend
78
+ terminateAllSlaves backend
79
79
{% endhighlight %}
80
80
81
81
### Other Topologies and Backends
You can’t perform that action at this time.
0 commit comments