diff options
author | Henning Baldersheim <balder@oath.com> | 2018-04-05 12:57:41 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-04-05 12:57:41 +0200 |
commit | fb21f308d18d76520f0208b94d82d31b354bba4c (patch) | |
tree | 496b88d98b95099e6f0875ffceac6956504ab0b9 /slobrok/src/apps | |
parent | 06b5e4f931ae3fc08bed5b25c85b9f9fa63d7f22 (diff) |
Use a reconfigurable stateserver.
Diffstat (limited to 'slobrok/src/apps')
-rw-r--r-- | slobrok/src/apps/slobrok/slobrok.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/slobrok/src/apps/slobrok/slobrok.cpp b/slobrok/src/apps/slobrok/slobrok.cpp index 277cc2f3a87..5a1ddb918ba 100644 --- a/slobrok/src/apps/slobrok/slobrok.cpp +++ b/slobrok/src/apps/slobrok/slobrok.cpp @@ -50,7 +50,6 @@ int App::Main() { uint32_t portnum = 2773; - uint32_t statePort = 0; vespalib::string cfgId; int argi = 1; @@ -61,9 +60,6 @@ App::Main() case 'c': cfgId = std::string(optArg); break; - case 's': - statePort = atoi(optArg); - break; case 'p': portnum = atoi(optArg); break; @@ -79,7 +75,7 @@ App::Main() ConfigShim shim(portnum); mainobj.reset(new SBEnv(shim)); } else { - ConfigShim shim(portnum, statePort, cfgId); + ConfigShim shim(portnum, cfgId); mainobj.reset(new SBEnv(shim)); } hook_sigterm(); |