Skip to content

Commit

Permalink
fixed missing function in DockerClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander von Orloff committed Aug 10, 2017
1 parent 374b28c commit 3e3fb9a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/main/java/com/spotify/docker/client/DockerClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,20 @@ ServiceCreateResponse createService(ServiceSpec spec, RegistryAuth registryAuth)
*/
void updateService(String serviceId, Long version, ServiceSpec spec)
throws DockerException, InterruptedException;


/**
* Update an existing service. Only available in Docker API >= 1.24.
*
* @param serviceId the identifier of the service
* @param version the version of the service
* @param spec the new service spec
* @param registryAuth the registry authentication configuration
* @throws DockerException if a server error occurred (500)
* @throws InterruptedException If the thread is interrupted
*/
void updateService(String serviceId, Long version, ServiceSpec spec, RegistryAuth registryAuth)
throws DockerException, InterruptedException;

/**
* List all services. Only available in Docker API >= 1.24.
*
Expand Down

0 comments on commit 3e3fb9a

Please sign in to comment.