]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[65-libyang-option-def] untabilfy
authorFrancis Dupont <fdupont@isc.org>
Sat, 22 Sep 2018 15:26:36 +0000 (17:26 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sat, 22 Sep 2018 15:26:36 +0000 (17:26 +0200)
src/lib/yang/translator_option_def.cc

index 4161b1d5880cb7192ad03ce10a3f4acead58058f..47e279cd05ada34274b6f84036dc9fcc8908eb56 100644 (file)
@@ -45,13 +45,13 @@ TranslatorOptionDef::getOptionDefKea(const string& xpath) {
     ConstElementPtr type = getItem(xpath + "/type");
     ConstElementPtr space = getItem(xpath + "/space");
     if (!code || !space) {
-       // Can't happen as code and space are the keys.
-       isc_throw(Unexpected, "getOptionDefKea requires code and space: "
-                 << xpath);
+        // Can't happen as code and space are the keys.
+        isc_throw(Unexpected, "getOptionDefKea requires code and space: "
+                  << xpath);
     }
     if (!name || !type) {
-       isc_throw(BadValue, "getOptionDefKea requires name and type: "
-                 << xpath);
+        isc_throw(BadValue, "getOptionDefKea requires name and type: "
+                  << xpath);
     }
     ElementPtr result = Element::createMap();
     result->set("code", code);