[ARVADOS] updated: 1.3.0-2854-g70838209c

Git user git at public.arvados.org
Thu Aug 13 19:23:29 UTC 2020


Summary of changes:
 services/api/app/models/arvados_model.rb | 2 ++
 1 file changed, 2 insertions(+)

       via  70838209c214bfa57ef4bce289e1530a1cc2b081 (commit)
      from  046863fce3eefdd8f2b4588855b2335dcb0215e1 (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 70838209c214bfa57ef4bce289e1530a1cc2b081
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Thu Aug 13 15:22:49 2020 -0400

    16683: Accept PDH for head_uuid/tail_uuid
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/api/app/models/arvados_model.rb b/services/api/app/models/arvados_model.rb
index eb2ea1731..3c9173c01 100644
--- a/services/api/app/models/arvados_model.rb
+++ b/services/api/app/models/arvados_model.rb
@@ -758,6 +758,8 @@ class ArvadosModel < ApplicationRecord
       if r.where(uuid: attr_value).count == 0
         errors.add(attr, "'#{attr_value}' not found")
       end
+    elsif attr_value =~ Keep::Locator::LOCATOR_REGEXP
+      true
     else
       errors.add(attr, "'#{attr_value}' invalid uuid")
     end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list