[ARVADOS] created: 2.1.0-2452-gfb553cae8

Git user git at public.arvados.org
Wed May 11 21:04:32 UTC 2022


        at  fb553cae8d2132a17bc31d06d7b5f95aeebff78a (commit)


commit fb553cae8d2132a17bc31d06d7b5f95aeebff78a
Author: Ward Vandewege <ward at curii.com>
Date:   Wed May 11 17:03:07 2022 -0400

    19127: do not dump InstanceTypes...Name and InstanceTypes...Scratch,
           they are computed fields.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go
index f0adcda5f..9d77c5cd7 100644
--- a/sdk/go/arvados/config.go
+++ b/sdk/go/arvados/config.go
@@ -424,11 +424,11 @@ type CUDAFeatures struct {
 }
 
 type InstanceType struct {
-	Name            string
+	Name            string `json:"-"`
 	ProviderType    string
 	VCPUs           int
 	RAM             ByteSize
-	Scratch         ByteSize
+	Scratch         ByteSize `json:"-"`
 	IncludedScratch ByteSize
 	AddedScratch    ByteSize
 	Price           float64

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list