From b0bfc80ab7ebf5f47d28930ad5f0a5d6d0c17405 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 19 Mar 2015 13:05:00 -0700 Subject: [PATCH] GUAC-1132: Fix patchTunnels() documentation - it's not technically purely deletion anymore. --- .../guacamole/net/basic/rest/tunnel/TunnelRESTService.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/rest/tunnel/TunnelRESTService.java b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/rest/tunnel/TunnelRESTService.java index 1d4c68d25..91641eadd 100644 --- a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/rest/tunnel/TunnelRESTService.java +++ b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/rest/tunnel/TunnelRESTService.java @@ -109,8 +109,11 @@ public class TunnelRESTService { } /** - * Deletes the tunnels having the given UUIDs, effectively closing the - * tunnels and killing the associated connections. + * Applies the given tunnel patches. This operation currently only supports + * deletion of tunnels through the "remove" patch operation. Deleting a + * tunnel effectively closing the tunnel and kills the associated + * connection. The path of each patch operation is of the form "/UUID" + * where UUID is the UUID of the tunnel being modified. * * @param authToken * The authentication token that is used to authenticate the user