Rename apifetcher methods

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2024-06-11 15:12:05 +02:00 committed by Daniel Weiße
parent 52a65c20ac
commit cd4c90af7e
10 changed files with 32 additions and 34 deletions

View file

@ -79,7 +79,7 @@ func (c *GCPSEVSNP) FetchAndSetLatestVersionNumbers(ctx context.Context, fetcher
return nil
}
versions, err := fetcher.FetchSEVSNPVersionLatest(ctx, variant.GCPSEVSNP{})
versions, err := fetcher.FetchLatestVersion(ctx, variant.GCPSEVSNP{})
if err != nil {
return fmt.Errorf("fetching latest TCB versions from configapi: %w", err)
}