diff options
Diffstat (limited to 'streamingvisitors/src/vespa/searchvisitor/searchenvironment.h')
-rw-r--r-- | streamingvisitors/src/vespa/searchvisitor/searchenvironment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h b/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h index 9ea4867272e..4cdc38a286b 100644 --- a/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h +++ b/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h @@ -75,12 +75,12 @@ private: FNET_Transport* const _transport; vespalib::string _file_distributor_connection_spec; - Env & getEnv(const vespalib::string & searchcluster); + Env & getEnv(const vespalib::string & config_id); public: SearchEnvironment(const config::ConfigUri & configUri, FNET_Transport* transport, const vespalib::string& file_distributor_connection_spec); ~SearchEnvironment(); - std::shared_ptr<const SearchEnvironmentSnapshot> get_snapshot(const vespalib::string& search_cluster); + std::shared_ptr<const SearchEnvironmentSnapshot> get_snapshot(const vespalib::string& config_id); std::optional<int64_t> get_oldest_config_generation(); // Should only be used by unit tests to simulate that the calling thread is finished. void clear_thread_local_env_map(); |