diff --git a/.gitignore b/.gitignore index 57872d0..c113dc5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vendor/ +/nbproject/ diff --git a/src/Client.php b/src/Client.php index 9e70ebf..68b6f98 100644 --- a/src/Client.php +++ b/src/Client.php @@ -82,12 +82,11 @@ public function dockerInfo(int $endpointId): array /** * Docker stacks API - * @param int $endpointId * @return Path */ - public function stacks(int $endpointId): Path + public function stacks(): Path { - $path = $this->client->createPath("endpoints/{$endpointId}/stacks"); + $path = $this->client->createPath("stacks"); return $path; }