Skip to content

Commit

Permalink
Merge pull request #404 from renoki-co/analysis-kYLxpy
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
rennokki authored Mar 13, 2024
2 parents f84d064 + db50657 commit 67e4af3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/KubernetesCluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,14 @@ public function setResourceClass(string $resourceClass)
public function runOperation(string $operation, string $path, $payload = '', array $query = ['pretty' => 1])
{
switch ($operation) {
case static::WATCH_OP: return $this->watchPath($path, $payload, $query); break;
case static::WATCH_LOGS_OP: return $this->watchLogsPath($path, $payload, $query); break;
case static::EXEC_OP: return $this->execPath($path, $query); break;
case static::ATTACH_OP: return $this->attachPath($path, $payload, $query); break;
case static::WATCH_OP: return $this->watchPath($path, $payload, $query);
break;
case static::WATCH_LOGS_OP: return $this->watchLogsPath($path, $payload, $query);
break;
case static::EXEC_OP: return $this->execPath($path, $query);
break;
case static::ATTACH_OP: return $this->attachPath($path, $payload, $query);
break;
default: break;
}

Expand Down

0 comments on commit 67e4af3

Please sign in to comment.