[ARVADOS] updated: 1.3.0-2788-gd6246cb3a

Git user git at public.arvados.org
Thu Jul 30 20:53:18 UTC 2020


Summary of changes:
 services/keep-web/s3.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  d6246cb3a2c49d1e19edc9579c96d80fd6535ccc (commit)
      from  1e40702405d04143caa05c9580cce79c293d40d7 (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 d6246cb3a2c49d1e19edc9579c96d80fd6535ccc
Author: Tom Clegg <tom at tomclegg.ca>
Date:   Thu Jul 30 16:53:00 2020 -0400

    16535: Fixup HeadBucket handler.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at tomclegg.ca>

diff --git a/services/keep-web/s3.go b/services/keep-web/s3.go
index 29de9ce2d..aa0cbd3c8 100644
--- a/services/keep-web/s3.go
+++ b/services/keep-web/s3.go
@@ -85,7 +85,7 @@ func (h *handler) serveS3(w http.ResponseWriter, r *http.Request) bool {
 		fi, err := fs.Stat(fspath)
 		if r.Method == "HEAD" && !objectNameGiven {
 			// HeadBucket
-			if err != nil && fi.IsDir() {
+			if err == nil && fi.IsDir() {
 				w.WriteHeader(http.StatusOK)
 			} else if os.IsNotExist(err) {
 				w.WriteHeader(http.StatusNotFound)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list