Skip to content

Commit 9c657b6

Browse files
authored
Merge pull request #465 from ptmcnally/252-load-balancer-client-changes
252 load balancer client changes
2 parents 3d76bf8 + 3bf978d commit 9c657b6

File tree

5 files changed

+2
-73
lines changed

5 files changed

+2
-73
lines changed

src/eCloud/Client.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,6 @@ public function loadBalancerSpecs()
313313
return (new LoadBalancerSpecClient($this->httpClient))->auth($this->token);
314314
}
315315

316-
/**
317-
* @return BaseClient
318-
*/
319-
public function loadBalancerNetworks()
320-
{
321-
return (new LoadBalancerNetworkClient($this->httpClient))->auth($this->token);
322-
}
323-
324316
/**
325317
* @return BaseClient
326318
*/

src/eCloud/Entities/LoadBalancer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @property string $name
1010
* @property string $vpcId
1111
* @property string $availabilityZoneId
12+
* @property string $networkId
1213
* @property string $specId
1314
* @property int $configId
1415
* @property string $sync

src/eCloud/Entities/LoadBalancerNetwork.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/eCloud/LoadBalancerClient.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function getEntityMap()
1919
'name' => 'name',
2020
'vpc_id' => 'vpcId',
2121
'availability_zone_id' => 'availabilityZoneId',
22+
'network_id' => 'networkId',
2223
'load_balancer_spec_id' => 'specId',
2324
'config_id' => 'configId',
2425
'sync' => 'sync',
@@ -33,9 +34,4 @@ public function loadEntity($data)
3334
$this->apiToFriendly($data, $this->getEntityMap())
3435
);
3536
}
36-
37-
public function getNetworks($id)
38-
{
39-
return $this->loadBalancerNetworks()->getAllByLoadBalancerId($id);
40-
}
4137
}

src/eCloud/LoadBalancerNetworkClient.php

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)