Skip to content

Commit

Permalink
Fixed a bug where slashes or special characters did not work well in …
Browse files Browse the repository at this point in the history
…getPods()
  • Loading branch information
rennokki committed Feb 11, 2021
1 parent d3e6ad0 commit 9fb3c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/HasPods.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ trait HasPods
*/
public function getPods(array $query = ['pretty' => 1])
{
$labelSelector = http_build_query(
$labelSelector = urldecode(http_build_query(
$this->podsSelector()
);
));

return $this->cluster->pod()->setNamespace($this->getNamespace())->all(
array_merge(['labelSelector' => $labelSelector], $query)
Expand Down

0 comments on commit 9fb3c1c

Please sign in to comment.