summaryrefslogtreecommitdiffstats
path: root/slobrok/src/apps
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2021-09-20 11:30:22 +0000
committerArne H Juul <arnej@yahooinc.com>2021-09-20 11:30:22 +0000
commit3257017c8c22241e41bcf260aaf3e0ad33b31c7b (patch)
tree511bdae719dc452050cf894e62b1af680d61163a /slobrok/src/apps
parent727569fcc19f2e0543f56e6d421ed1ce6c2b5c75 (diff)
remove wiring of useNewLogic flag
Diffstat (limited to 'slobrok/src/apps')
-rw-r--r--slobrok/src/apps/slobrok/slobrok.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/slobrok/src/apps/slobrok/slobrok.cpp b/slobrok/src/apps/slobrok/slobrok.cpp
index b2748762a12..18a401e1db6 100644
--- a/slobrok/src/apps/slobrok/slobrok.cpp
+++ b/slobrok/src/apps/slobrok/slobrok.cpp
@@ -50,7 +50,6 @@ App::Main()
{
uint32_t portnum = 2773;
vespalib::string cfgId;
- bool useNewLogic = false;
int argi = 1;
const char* optArg;
@@ -64,7 +63,7 @@ App::Main()
portnum = atoi(optArg);
break;
case 'N':
- useNewLogic = true;
+ // ignored
break;
default:
LOG(error, "unknown option letter '%c'", c);
@@ -76,11 +75,11 @@ App::Main()
if (cfgId.empty()) {
LOG(debug, "no config id specified");
ConfigShim shim(portnum);
- mainobj = std::make_unique<SBEnv>(shim, useNewLogic);
+ mainobj = std::make_unique<SBEnv>(shim);
} else {
ConfigShim shim(portnum, cfgId);
shim.enableStateServer(true);
- mainobj = std::make_unique<SBEnv>(shim, useNewLogic);
+ mainobj = std::make_unique<SBEnv>(shim);
}
hook_sigterm();
res = mainobj->MainLoop();