Browse Source

serverconf: remove GetPodIP

orphaned by 8f72ecbaa0d72e3417e96de65bc008c7bad542e1
yearski 2 years ago
parent
commit
74deaf991b
1 changed files with 0 additions and 9 deletions
  1. 0 9
      servercfg/serverconf.go

+ 0 - 9
servercfg/serverconf.go

@@ -167,15 +167,6 @@ func GetAPIHost() string {
 	return serverhost
 }
 
-// GetPodIP - get the pod's ip
-func GetPodIP() string {
-	podip := "127.0.0.1"
-	if os.Getenv("POD_IP") != "" {
-		podip = os.Getenv("POD_IP")
-	}
-	return podip
-}
-
 // GetAPIPort - gets the api port
 func GetAPIPort() string {
 	apiport := "8081"