Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Nit: StyleCI callout
Browse files Browse the repository at this point in the history
  • Loading branch information
cuppett committed Dec 2, 2023
1 parent a24f1b3 commit 363e3bf
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/KubernetesCluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,18 @@ 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 363e3bf

Please sign in to comment.