X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/00f65f60e69326839447f431146312481db05f01..cb73538f0851cea402a0544861966c2515a24b5b:/lib/config/deprecated.go diff --git a/lib/config/deprecated.go b/lib/config/deprecated.go index 1016745b1c..d5c09d6706 100644 --- a/lib/config/deprecated.go +++ b/lib/config/deprecated.go @@ -125,7 +125,6 @@ func (ldr *Loader) applyDeprecatedVolumeDriverParameters(cfg *arvados.Config) er if params.AccessKey != "" || params.SecretKey != "" { if params.AccessKeyID != "" || params.SecretAccessKey != "" { return fmt.Errorf("cannot use old keys (AccessKey/SecretKey) and new keys (AccessKeyID/SecretAccessKey) at the same time in %s.Volumes.%s.DriverParameters -- you must remove the old config keys", clusterID, volID) - continue } var allparams map[string]interface{} err = json.Unmarshal(vol.DriverParameters, &allparams) @@ -495,18 +494,9 @@ func (ldr *Loader) loadOldKeepWebConfig(cfg *arvados.Config) error { if oc.Cache.TTL != nil { cluster.Collections.WebDAVCache.TTL = *oc.Cache.TTL } - if oc.Cache.UUIDTTL != nil { - cluster.Collections.WebDAVCache.UUIDTTL = *oc.Cache.UUIDTTL - } - if oc.Cache.MaxCollectionEntries != nil { - cluster.Collections.WebDAVCache.MaxCollectionEntries = *oc.Cache.MaxCollectionEntries - } if oc.Cache.MaxCollectionBytes != nil { cluster.Collections.WebDAVCache.MaxCollectionBytes = *oc.Cache.MaxCollectionBytes } - if oc.Cache.MaxUUIDEntries != nil { - cluster.Collections.WebDAVCache.MaxUUIDEntries = *oc.Cache.MaxUUIDEntries - } if oc.AnonymousTokens != nil { if len(*oc.AnonymousTokens) > 0 { cluster.Users.AnonymousUserToken = (*oc.AnonymousTokens)[0]