fixed missing function in DockerClient
@@ -1597,6 +1597,19 @@ public interface DockerClient extends Closeable {
void updateService(String serviceId, Long version, ServiceSpec spec)
throws DockerException, InterruptedException;
+ /**
+ * Update an existing service. Only available in Docker API &gt;= 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 &gt;= 1.24.
*
