[arvados] updated: 2.1.0-2638-g2261d1fd9

git repository hosting git at public.arvados.org
Thu Jul 7 03:12:58 UTC 2022


Summary of changes:
 lib/controller/router/router.go | 11 +++++++++++
 1 file changed, 11 insertions(+)

       via  2261d1fd9e1b69d0a60f1f7fe9029317aeb4cf52 (commit)
      from  dc70bbf9ea15395476107a3b8dff96f754a40998 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 2261d1fd9e1b69d0a60f1f7fe9029317aeb4cf52
Author: Tom Clegg <tom at curii.com>
Date:   Wed Jul 6 23:08:21 2022 -0400

    19166: Return better error message to incompatible arvados-client.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/controller/router/router.go b/lib/controller/router/router.go
index a87dbca92..80d5e9298 100644
--- a/lib/controller/router/router.go
+++ b/lib/controller/router/router.go
@@ -244,6 +244,17 @@ func (rtr *router) addRoutes() {
 				return rtr.backend.ContainerSSH(ctx, *opts.(*arvados.ContainerSSHOptions))
 			},
 		},
+		{
+			// arvados-client built before commit
+			// bdc29d3129f6d75aa9ce0a24ffb849a272b06f08
+			// used GET with params in headers instead of
+			// POST form
+			arvados.APIEndpoint{"GET", "arvados/v1/connect/{uuid}/ssh", ""},
+			func() interface{} { return &arvados.ContainerSSHOptions{} },
+			func(ctx context.Context, opts interface{}) (interface{}, error) {
+				return nil, httpError(http.StatusGone, fmt.Errorf("API endpoint is obsolete -- please upgrade your arvados-client program"))
+			},
+		},
 		{
 			arvados.EndpointContainerGatewayTunnel,
 			func() interface{} { return &arvados.ContainerGatewayTunnelOptions{} },

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list