X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1acd7bc736df6bc2b3030f1553bb4492a749d10a..465d79c490f67c5d0eb8c6b311fdc8c7c9bfb679:/lib/config/deprecated.go diff --git a/lib/config/deprecated.go b/lib/config/deprecated.go index aac981da44..5e68bbfcef 100644 --- a/lib/config/deprecated.go +++ b/lib/config/deprecated.go @@ -136,7 +136,7 @@ func (ldr *Loader) applyDeprecatedVolumeDriverParameters(cfg *arvados.Config) er } if params.AccessKey != "" || params.SecretKey != "" { if params.AccessKeyID != "" || params.SecretAccessKey != "" { - ldr.Logger.Warnf("ignoring old config keys %s.Volumes.%s.DriverParameters.AccessKey/SecretKey because new keys AccessKeyID/SecretAccessKey are also present", clusterID, volID) + 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{}