summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2023-05-02 07:50:13 +0000
committerGerrit Code Review <gerrit@onap.org>2023-05-02 07:50:13 +0000
commitdbb995fdefd7f13f9bafa9b498d705a526c5d288 (patch)
tree5d2ae1450ab747e08f1cf941d54d9af6a6210b68 /installation
parentf4a9e414d195909b4d23917276032e38ea1fec55 (diff)
parent677df0df9e30e76140fd1adaea1c47b2bce9934c (diff)
Merge "Remove unnecessary code"
Former-commit-id: ea9f485775d129f70035b24c0500f981249f3dda
Diffstat (limited to 'installation')
-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')