mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-10-02 05:39:07 -04:00
AB#2525 clean up unused code (#504)
* Rename Metadata->Cloud * Remove unused methods, functions, and variables * More privacy for testing stubs Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
7d16c02e0d
commit
5efe05d933
22 changed files with 115 additions and 484 deletions
|
@ -135,7 +135,7 @@ func getVPCIP(ctx context.Context, provider string) (string, error) {
|
|||
defer gcpMeta.Close()
|
||||
metadata = gcpMeta
|
||||
case cloudprovider.QEMU:
|
||||
metadata = &qemucloud.Metadata{}
|
||||
metadata = qemucloud.New()
|
||||
default:
|
||||
return "", errors.New("unsupported cloud provider")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue