Skip to content

Commit

Permalink
portainer api v1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriolino committed Nov 9, 2018
1 parent 0f9649a commit f80a67d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor/
/nbproject/
5 changes: 2 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f80a67d

Please sign in to comment.