Skip to content

Commit

Permalink
Fixed missing throws for exec
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Mar 25, 2021
1 parent b370849 commit 7c7aeea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Kinds/K8sResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,8 @@ public function scaler(): K8sScale
* @param string|null $container
* @param array $query
* @return string
* @throws \RenokiCo\PhpK8s\Exceptions\KubernetesExecException
* @throws \RenokiCo\PhpK8s\Exceptions\KubernetesAPIException
*/
public function exec($command, string $container = null, array $query = ['pretty' => 1, 'stdin' => 1, 'stdout' => 1, 'stderr' => 1, 'tty' => 1])
{
Expand Down

0 comments on commit 7c7aeea

Please sign in to comment.