19127: do not dump InstanceTypes...Name and InstanceTypes...Scratch,
authorWard Vandewege <ward@curii.com>
Wed, 11 May 2022 21:03:07 +0000 (17:03 -0400)
committerWard Vandewege <ward@curii.com>
Wed, 11 May 2022 21:03:07 +0000 (17:03 -0400)
       they are computed fields.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

sdk/go/arvados/config.go

index f0adcda5f1c0ba2710ea0bd62b643453f46acfca..9d77c5cd74b49ca35a92f7d9f331708ecf2d8af6 100644 (file)
@@ -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