Parcourir la source

[2281] Pass a null config to ZoneTableSegment::create() for now

Mukund Sivaraman il y a 12 ans
Parent
commit
d404649f95
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      src/lib/datasrc/static_datasrc_link.cc

+ 5 - 1
src/lib/datasrc/static_datasrc_link.cc

@@ -34,8 +34,12 @@ namespace datasrc {
 DataSourceClient*
 createInstance(ConstElementPtr config, string& error) {
     try {
+        // FIXME: Fix the config that should be passed to
+        // ZoneTableSegment::create() when it actually uses the config
+        // to do something.
         shared_ptr<memory::ZoneTableSegment> ztable_segment(
-            memory::ZoneTableSegment::create(*config, RRClass::CH()));
+            memory::ZoneTableSegment::create(isc::data::NullElement(),
+                                             RRClass::CH()));
         // Create the data source
         auto_ptr<memory::InMemoryClient> client
             (new memory::InMemoryClient(ztable_segment, RRClass::CH()));