diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-02-20 23:26:55 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-02-20 23:34:51 +0000 |
commit | acbdc8385fef981a9bc5cbfb46483c54c953dc04 (patch) | |
tree | 1d9c02e4e9476510dd32131cad01940969493806 /vdslib | |
parent | 1cfea65b9bc71b472e9dc3370b120cf428b6ece0 (diff) |
Make ConfigUri constructors explicit and use same context where possible in proton.
Diffstat (limited to 'vdslib')
-rw-r--r-- | vdslib/src/tests/distribution/distributiontest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vdslib/src/tests/distribution/distributiontest.cpp b/vdslib/src/tests/distribution/distributiontest.cpp index 6b77f47b4cd..4e050affec6 100644 --- a/vdslib/src/tests/distribution/distributiontest.cpp +++ b/vdslib/src/tests/distribution/distributiontest.cpp @@ -1,7 +1,6 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/config-stor-distribution.h> -#include <vespa/config/helper/configfetcher.h> #include <vespa/config/helper/configgetter.hpp> #include <vespa/config/subscription/configuri.h> #include <vespa/fastos/file.h> @@ -48,7 +47,7 @@ TEST(DistributionTest, test_verify_java_distributions) } ClusterState state(mystate); Distribution distr(readConfig<vespa::config::content::StorDistributionConfig>( - "file:distribution/testdata/java_" + test + ".cfg")); + config::ConfigUri("file:distribution/testdata/java_" + test + ".cfg"))); std::ofstream of("distribution/testdata/cpp_" + test + ".distribution"); long maxBucket = 1; |