Rename in config: PCRs->Measurements

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-05-06 16:10:35 +02:00 committed by Daniel Weiße
parent 3318126363
commit a953df60b6
3 changed files with 8 additions and 8 deletions

View file

@ -68,10 +68,10 @@ func TestNewValidators(t *testing.T) {
conf := &config.Config{Provider: &config.ProviderConfig{}}
if tc.provider == cloudprovider.GCP {
conf.Provider.GCP = &config.GCPConfig{PCRs: &tc.pcrs}
conf.Provider.GCP = &config.GCPConfig{Measurements: &tc.pcrs}
}
if tc.provider == cloudprovider.Azure {
conf.Provider.Azure = &config.AzureConfig{PCRs: &tc.pcrs}
conf.Provider.Azure = &config.AzureConfig{Measurements: &tc.pcrs}
}
if tc.provider == cloudprovider.QEMU {
conf.Provider.QEMU = &config.QEMUConfig{PCRs: &tc.pcrs}