aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2023-05-02 11:45:34 +0530
committerRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2023-05-02 11:45:50 +0530
commit677df0df9e30e76140fd1adaea1c47b2bce9934c (patch)
treed7a3b269ee6cf930bd249989a2235609dbf0abca
parent9301e1690edd49d6eca830d44898f2abc9118d02 (diff)
Remove unnecessary code
remove unnecessary code Issue-ID: SDNC-1798 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> Change-Id: I7b874b5a77bb92977b3390dfd1913837fe1b954b Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> Former-commit-id: 6d9bf54f81dba7b1043395671443774a78d2ac93
-rw-r--r--installation/sdnc-web/src/main/scripts/core.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/installation/sdnc-web/src/main/scripts/core.py b/installation/sdnc-web/src/main/scripts/core.py
index 6bdd4b59..2852379d 100644
--- a/installation/sdnc-web/src/main/scripts/core.py
+++ b/installation/sdnc-web/src/main/scripts/core.py
@@ -277,12 +277,7 @@ def update_nginx_site_conf():
WEBPROTOCOL=getEnv('WEBPROTOCOL')
WEBPORT=getEnv('WEBPORT')
SDNRPROTOCOL=getEnv('SDNRPROTOCOL')
- SDNCWEBHOST=getEnv('HOSTNAME')
SDNRHOST=getEnv('SDNRHOST')
- if SDNRHOST == "sdnc.onap":
- # Request is from K8s
- SDNCWEBHOSTINDEX=SDNCWEBHOST[SDNCWEBHOST.rindex("-")+1:]
- SDNRHOST = "sdnc-" + SDNCWEBHOSTINDEX + ".onap"
SDNRPORT=getEnv('SDNRPORT')
SDNRWEBSOCKETPORT=getEnv('SDNRWEBSOCKETPORT',SDNRPORT)
DNS_RESOLVER=getEnv('DNS_RESOLVER')