Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 13, 2024
1 parent f84d064 commit db50657
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 db50657

Please sign in to comment.