]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#642,!373] Adjusted exceptions' text in the mysql_cb.
authorMarcin Siodelski <marcin@isc.org>
Thu, 27 Jun 2019 18:50:07 +0000 (20:50 +0200)
committerMarcin Siodelski <marcin@isc.org>
Thu, 27 Jun 2019 18:51:31 +0000 (14:51 -0400)
Per review comments.

src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc

index cd4f93194113b78025529a14b3af7ad05c885f8d..3f7c0b0b8c3226880c699feb094428167004a9e3 100644 (file)
@@ -1905,7 +1905,7 @@ public:
         if (server_tag.amAll()) {
             isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which"
                       " associates the configuration elements with all servers connecting"
-                      " to the database and can't be deleted");
+                      " to the database and may not be deleted");
         }
 
         MySqlTransaction transaction(conn_);
index 2acacb0bf2c5d16a5dee026f133160dec61e3073..8f3e0166606f026e3807748666307513c3161368 100644 (file)
@@ -2219,7 +2219,7 @@ public:
         if (server_tag.amAll()) {
             isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which"
                       " associates the configuration elements with all servers connecting"
-                      " to the database and can't be deleted");
+                      " to the database and may not be deleted");
         }
 
         MySqlTransaction transaction(conn_);
index ae69445b8529413ee2d3898430c72714faafa928..7a7ce444f2225689fbc2714a9c749316e997e476 100644 (file)
@@ -938,7 +938,7 @@ MySqlConfigBackendImpl::createUpdateServer(const int& create_audit_revision,
     if (server->getServerTag().amAll()) {
         isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which"
                   " associates the configuration elements with all servers connecting"
-                  " to the database and a server with this name can't be created");
+                  " to the database and a server with this name nay not be created");
     }
 
     // Create scoped audit revision. As long as this instance exists