diff options
author | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2023-05-02 07:50:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-05-02 07:50:13 +0000 |
commit | dbb995fdefd7f13f9bafa9b498d705a526c5d288 (patch) | |
tree | 5d2ae1450ab747e08f1cf941d54d9af6a6210b68 | |
parent | f4a9e414d195909b4d23917276032e38ea1fec55 (diff) | |
parent | 677df0df9e30e76140fd1adaea1c47b2bce9934c (diff) |
Merge "Remove unnecessary code"
Former-commit-id: ea9f485775d129f70035b24c0500f981249f3dda
-rw-r--r-- | installation/sdnc-web/src/main/scripts/core.py | 5 |
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') |