Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
delete(allparams, k)
}
}
+ ldr.Logger.Warnf("using your old config keys %s.Volumes.%s.DriverParameters.AccessKey/SecretKey -- but you should rename them to AccessKeyID/SecretAccessKey", clusterID, volID)
allparams["AccessKeyID"] = params.AccessKey
allparams["SecretAccessKey"] = params.SecretKey
vol.DriverParameters, err = json.Marshal(allparams)
`)
c.Check(logs, check.Matches, `(?ms).*deprecated or unknown config entry: .*AccessKey.*`)
c.Check(logs, check.Matches, `(?ms).*deprecated or unknown config entry: .*SecretKey.*`)
+ c.Check(logs, check.Matches, `(?ms).*using your old config keys z1111\.Volumes\.z1111-nyw5e-aaaaaaaaaaaaaaa\.DriverParameters\.AccessKey/SecretKey -- but you should rename them to AccessKeyID/SecretAccessKey.*`)
}
func (s *LoadSuite) TestDeprecatedNodeProfilesToServices(c *check.C) {