22124: Trim trailing slashes in ARVADOS_KEEP_SERVICES env var.
authorTom Clegg <tom@curii.com>
Mon, 23 Sep 2024 15:27:33 +0000 (11:27 -0400)
committerTom Clegg <tom@curii.com>
Mon, 23 Sep 2024 15:27:33 +0000 (11:27 -0400)
commiteddc63eeb1389373c1f82ab0b503c2fc400231d3
tree8602922d8b951943701c26907f85eb2e597f90ff
parentc99df3795255132bcaf7333a6178d654fae9deb7
22124: Trim trailing slashes in ARVADOS_KEEP_SERVICES env var.

Accept http://foo:12345/ as a synonym of http://foo:12345 instead of
failing requests with 400 errors later.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
sdk/go/keepclient/discover.go
sdk/go/keepclient/discover_test.go
sdk/go/keepclient/keepclient.go