21205: Fix typo
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 29 Nov 2023 14:18:12 +0000 (09:18 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Wed, 29 Nov 2023 14:18:12 +0000 (09:18 -0500)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

services/api/app/models/arvados_model.rb

index 2256fa5b3ecb1a1374f1e5aa023c44bb8a64aeab..b0a66a6cb69ec3584200b47fff152a300c0e58ba 100644 (file)
@@ -523,7 +523,7 @@ class ArvadosModel < ApplicationRecord
         # The name field has a limit of 256 characters, so also
         # truncate if necessary to avoid throwing a "field too big"
         # exception.
-        self[:name] = "#{name_was[0..236]} (#{self.uuid[-15..-1]]})"
+        self[:name] = "#{name_was[0..236]} (#{self.uuid[-15..-1]})"
         retry
       end
     end