Luciano Andrade 6 роки тому
батько
коміт
5a46ef2bc8
2 змінених файлів з 10 додано та 11 видалено
  1. 9 9
      composer.lock
  2. 1 2
      src/CablemodemBundle/Command/DHCPHostCRUDCommand.php

+ 9 - 9
composer.lock

@@ -1003,13 +1003,13 @@
             "source": {
                 "type": "git",
                 "url": "https://github.com/dwoo-project/dwoo.git",
-                "reference": "7a2823fe684862149df2b04c1ea8d6092b78bce6"
+                "reference": "e82821854a2a4a56417015b897382e7995463118"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/dwoo/dwoo/dwoo-dwoo-7a2823fe684862149df2b04c1ea8d6092b78bce6-zip-ceb77f.zip",
-                "reference": "7a2823fe684862149df2b04c1ea8d6092b78bce6",
-                "shasum": "cc6f66c0910036cd4e72604bf6e42f57c04ba8e5"
+                "url": "https://satis.infra.flowdat.com/dist/dwoo/dwoo/dwoo-dwoo-e82821854a2a4a56417015b897382e7995463118-zip-8070b8.zip",
+                "reference": "e82821854a2a4a56417015b897382e7995463118",
+                "shasum": "761f80329ce3476c3d9ec92c1ed29f283527c584"
             },
             "require": {
                 "php": "^5.3|^7.0"
@@ -1034,7 +1034,7 @@
                 }
             ],
             "description": "Dwoo is a PHP5/PHP7 template engine which is (almost) fully compatible with Smarty templates and plugins, but is written from scratch for PHP5, and adds many features.",
-            "time": "2018-05-02T14:40:01+00:00"
+            "time": "2018-07-25T13:24:51+00:00"
         },
         {
             "name": "fig/link-util",
@@ -1457,7 +1457,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/BaseAdmin.git",
-                "reference": "d6dfe3b8c1b961c64766680c4a58db45af7e684d"
+                "reference": "14a5b3cbf7a371f89d4c323672f89be0eed7675e"
             },
             "type": "library",
             "autoload": {
@@ -1472,7 +1472,7 @@
                 "bootstrap",
                 "sonata"
             ],
-            "time": "2018-07-27T16:52:57+00:00"
+            "time": "2018-08-07T11:46:29+00:00"
         },
         {
             "name": "ik/device-bundle",
@@ -1690,7 +1690,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/WorkflowBundle.git",
-                "reference": "184c2d1c00423b71fd1eae098eead7b938de1882"
+                "reference": "fcac5fb3107129034dc231d900701c0df65d8a7c"
             },
             "require": {
                 "php-amqplib/rabbitmq-bundle": "^1.12"
@@ -1720,7 +1720,7 @@
                 "bundle",
                 "workflow"
             ],
-            "time": "2018-07-04T14:51:55+00:00"
+            "time": "2018-08-07T12:54:41+00:00"
         },
         {
             "name": "incenteev/composer-parameter-handler",

+ 1 - 2
src/CablemodemBundle/Command/DHCPHostCRUDCommand.php

@@ -134,7 +134,6 @@ EOT
             $data['host'] = $hostId;
             $data['fixedIP'] = $type == 'MTA' ? $this->cablemodem->getMtaFixedIP() : $this->cablemodem->getCpeFixedIP();
         }
-        
         $dhcpOptions = $this->cablemodem->getDHCPOptions();
         $data = array_merge($data, $dhcpOptions);
 
@@ -230,7 +229,7 @@ EOT
             $this->input->getOption('url-get-hosttype');
         
         $url = $this->webservice->buildUrl($url, [
-            'name' => $name,
+            'shortname' => $name,
         ]);
         $hostTypeJSON = $this->webservice->makeGetRequest($url, HttpRequestInterface::METHOD_GET, [], $this->credentials);
         if ($hostTypeJSON != '' && !is_null($hostTypeJSON)) {