Skip to content

Commit

Permalink
Actually is a POST request
Browse files Browse the repository at this point in the history
  • Loading branch information
Davis authored May 17, 2017
1 parent 403dd41 commit 436df71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/PodRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function logs(Pod $pod, array $options = [])
*/
public function exec(Pod $pod, array $options = [])
{
$response = $this->client->sendRequest('GET', '/' . $this->uri . '/' . $pod->getMetadata('name') . '/exec', $options);
$response = $this->client->sendRequest('POST', '/' . $this->uri . '/' . $pod->getMetadata('name') . '/exec', $options);

return $response;
}
Expand Down

0 comments on commit 436df71

Please sign in to comment.