Skip to content

Commit

Permalink
adding comment on clarification of IP address
Browse files Browse the repository at this point in the history
Signed-off-by: Kapil Sharma <[email protected]>
  • Loading branch information
h4l0gen authored and poiana committed Apr 9, 2024
1 parent 630b95c commit a29607a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var _ = events.Register(

func ContactCloudMetadataServiceFromContainer(h events.Helper) error {
if h.InContainer() {
// this event can be used on GCP, AWS and Azure
//This event works on GCP, AWS, and Azure using the common link-local IP address 169.254.169.254.
cmd := exec.Command("timeout", "1s", "nc", "169.254.169.254", "80")

if err := cmd.Run(); err != nil {
Expand Down

0 comments on commit a29607a

Please sign in to comment.