Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
get parsed IP from env
  • Loading branch information
dciangot authored Oct 30, 2023
1 parent e7c2bb1 commit bcdfdce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func main() {

api.AttachPodRoutes(podRoutes, mux, true)

parsedIP := net.ParseIP(commonIL.InterLinkConfigInst.PodIP)
parsedIP := net.ParseIP(os.Getenv("POD_IP"))
retriever := newSelfSignedCertificateRetriever(cfg.NodeName, parsedIP)

server := &http.Server{
Expand Down

0 comments on commit bcdfdce

Please sign in to comment.