mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-01 11:36:10 -04:00
metadata: move subnetCIDR to InstanceMetadata
This commit is contained in:
parent
0cdc7886ee
commit
dd007f4772
9 changed files with 28 additions and 55 deletions
|
@ -85,11 +85,6 @@ func (m *Metadata) UID(ctx context.Context) (string, error) {
|
|||
return "", nil
|
||||
}
|
||||
|
||||
// GetSubnetworkCIDR retrieves the subnetwork CIDR from cloud provider metadata.
|
||||
func (m *Metadata) GetSubnetworkCIDR(ctx context.Context) (string, error) {
|
||||
return "10.244.0.0/16", nil
|
||||
}
|
||||
|
||||
func (m *Metadata) retrieveMetadata(ctx context.Context, uri string) ([]byte, error) {
|
||||
url := &url.URL{
|
||||
Scheme: "http",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue