Skip to content

Commit

Permalink
fix(metadata/packet): adjust packet metadata url and apiVersion for n…
Browse files Browse the repository at this point in the history
…ew equinix api
  • Loading branch information
RiRa12621 committed Aug 9, 2024
1 parent f78b9f7 commit 39cd2a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datasource/metadata/packet/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
)

const (
DefaultAddress = "https://metadata.packet.net/"
apiVersion = ""
DefaultAddress = "https://metadata.platformequinix.com/"
apiVersion = "metadata"
userdataUrl = "userdata"
metadataPath = "metadata"
)
Expand All @@ -50,7 +50,7 @@ type NetworkData struct {
DNS []net.IP `json:"dns"`
}

// Metadata that will be pulled from the https://metadata.packet.net/metadata only. We have the opportunity to add more later.
// Metadata that will be pulled from the https://metadata.platformequinix.com/metadata only. We have the opportunity to add more later.
type Metadata struct {
Hostname string `json:"hostname"`
SSHKeys []string `json:"ssh_keys"`
Expand Down

0 comments on commit 39cd2a3

Please sign in to comment.