Skip to content

Commit 8c5cb50

Browse files
author
Jamie Hannaford
authoredMay 14, 2017
Merge pull request #706 from Darunada/fix-load-balancer-certificateMappingList
Fix certificateMappingList returning valid CertificateMappings when iterated
2 parents cce4c2c + 3bf08b2 commit 8c5cb50

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎lib/OpenCloud/LoadBalancer/Resource/CertificateMapping.php

+13
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,17 @@ protected function updateJson($params = array())
9393

9494
return $object;
9595
}
96+
97+
/**
98+
* Sets properties from array || object of $values
99+
*
100+
* Used by LoadBalancer::certificateMappingList's paginated iterator
101+
* to return CertificateMappings with a valid id and hostname
102+
*
103+
* @var array|object $values
104+
*/
105+
protected function setCertificateMapping($values)
106+
{
107+
$this->populate($values);
108+
}
96109
}

0 commit comments

Comments
 (0)
Please sign in to comment.