Browse Source

spelling: database

Josh Soref 7 years ago
parent
commit
304db582a8

+ 1 - 1
src/lib/dhcpsrv/host_data_source_factory.cc

@@ -47,7 +47,7 @@ HostDataSourceFactory::create(const std::string& dbaccess) {
     DatabaseConnection::ParameterMap parameters =
             DatabaseConnection::parse(dbaccess);
 
-    // Get the databaase type and open the corresponding database
+    // Get the database type and open the corresponding database
     DatabaseConnection::ParameterMap::iterator it = parameters.find("type");
     if (it == parameters.end()) {
         isc_throw(InvalidParameter, "Host database configuration does not "

+ 1 - 1
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc

@@ -513,7 +513,7 @@ GenericHostDataSourceTest::testReadOnlyDatabase(const char* valid_db_type) {
     ASSERT_TRUE(hdsptr_);
 
     // The database is initially opened in "read-write" mode. We can
-    // insert some data to the databse.
+    // insert some data to the database.
     HostPtr host = initializeHost6("2001:db8::1", Host::IDENT_DUID, false);
     ASSERT_TRUE(host);
     ASSERT_NO_THROW(hdsptr_->add(host));